0_0_18725044_9076.c:1:1: error: unknown type name 'type'
type intege=longint;
^
0_0_18725044_9076.c:1:13: error: 'longint' undeclared here (not in a function)
type intege=longint;
^
0_0_18725044_9076.c:2:1: error: unknown type name 'var'
var
^
0_0_18725044_9076.c:3:4: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
p:array[1..50,1..50]of intege;
^
0_0_18725044_9076.c:3:11: error: too many decimal points in number
p:array[1..50,1..50]of intege;
^
0_0_18725044_9076.c:3:17: error: too many decimal points in number
p:array[1..50,1..50]of intege;
^
0_0_18725044_9076.c:4:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
s,t,i,j,k,n,m:intege;
^
0_0_18725044_9076.c:5:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
li,lj,mi,mj,sum:intege;
^
0_0_18725044_9076.c:7:1: error: unknown type name 'function'
function through(li,lj,mi,mj:integer):integer;
^
0_0_18725044_9076.c:7:29: error: expected ')' before ':' token
function through(li,lj,mi,mj:integer):integer;
^
0_0_18725044_9076.c:9:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'if'
if lj>mj then
^
0_0_18725044_9076.c:13:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
through:=through+abs(li-mi);
^
0_0_18725044_9076.c:16:1: error: unknown type name 'begin'
begin
^
0_0_18725044_9076.c:18:3: error: expected identifier or '(' before 'for'
for s:=1 to t do
^
0_0_18725044_9076.c:21:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
mj:=1;
^
0_0_18725044_9076.c:23:7: error: expected identifier or '(' before 'for'
for j:=1 to m do
^
0_0_18725044_9076.c:27:13: error: expected identifier or '(' before 'if'
if p[i,j]>p[mi,mj] then
^
0_0_18725044_9076.c:30:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
mj:=j;
^
0_0_18725044_9076.c:33:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
sum:=0;
^
0_0_18725044_9076.c:34:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
li:=mi;
^
0_0_18725044_9076.c:35:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
lj:=0;
^
0_0_18725044_9076.c:36:7: error: expected identifier or '(' before 'while'
while k-through(li,lj,mi,mj)>=0 do
^
0_0_18725044_9076.c:39:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
sum:=sum+p[mi,mj];
^
0_0_18725044_9076.c:40:15: error: expected ']' before ',' token
p[mi,mj]:=0;
^
0_0_18725044_9076.c:41:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
li:=mi;
^
0_0_18725044_9076.c:42:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
lj:=mj;
^
0_0_18725044_9076.c:43:11: error: expected identifier or '(' before 'for'
for i:=1 to n do
^
0_0_18725044_9076.c:48:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
mj:=j;
^
0_0_18725044_9076.c:53:4: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
end.
^
|