/in/foo.c:1:1: error: unknown type name 'var'
var n,m:Longint;
^~~
/in/foo.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
var n,m:Longint;
^
/in/foo.c:3:1: warning: data definition has no type or storage class
a,b,c:array[0..100]of longint;
^
/in/foo.c:3:1: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
/in/foo.c:3:3: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int]
a,b,c:array[0..100]of longint;
^
/in/foo.c:3:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
a,b,c:array[0..100]of longint;
^
/in/foo.c:3:13: error: too many decimal points in number
a,b,c:array[0..100]of longint;
^~~~~~
/in/foo.c:5:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
block:array[0..100,0..3]of longint;
^
/in/foo.c:5:13: error: too many decimal points in number
block:array[0..100,0..3]of longint;
^~~~~~
/in/foo.c:5:20: error: too many decimal points in number
block:array[0..100,0..3]of longint;
^~~~
/in/foo.c:7:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
f:array[0..100,0..100,0..3]of longint;
^
/in/foo.c:7:9: error: too many decimal points in number
f:array[0..100,0..100,0..3]of longint;
^~~~~~
/in/foo.c:7:16: error: too many decimal points in number
f:array[0..100,0..100,0..3]of longint;
^~~~~~
/in/foo.c:7:23: error: too many decimal points in number
f:array[0..100,0..100,0..3]of longint;
^~~~
/in/foo.c:9:1: error: unknown type name 'procedure'
procedure init;
^~~~~~~~~
/in/foo.c:11:1: error: unknown type name 'var'
var i:longint;
^~~
/in/foo.c:11:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
var i:longint;
^
/in/foo.c:13:1: error: unknown type name 'begin'
begin
^~~~~
/in/foo.c:15:1: warning: parameter names (without types) in function declaration
readln(n,m);
^~~~~~
/in/foo.c:17:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
a[0]:=0;b[0]:=0;c[0]:=0;fillchar(block,sizeof(block),0);
^
/in/foo.c:17:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
a[0]:=0;b[0]:=0;c[0]:=0;fillchar(block,sizeof(block),0);
^
/in/foo.c:17:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
a[0]:=0;b[0]:=0;c[0]:=0;fillchar(block,sizeof(block),0);
^
/in/foo.c:17:40: error: expected ')' before 'sizeof'
a[0]:=0;b[0]:=0;c[0]:=0;fillchar(block,sizeof(block),0);
^~~~~~
/in/foo.c:19:1: error: expected identifier or '(' before 'for'
for i:=1 to n do
^~~
/in/foo.c:25:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
block:=c[i];
^
/in/foo.c:27:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
block:=a[i];
^
/in/foo.c:29:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
block:=b[i];
^
/in/foo.c:31:1: warning: data definition has no type or storage class
end;
^~~
/in/foo.c:31:1: warning: type defaults to 'int' in declaration of 'end' [-Wimplicit-int]
/in/foo.c:33:1: warning: data definition has no type or storage class
end;
^~~
/in/foo.c:33:1: warning: type defaults to 'int' in declaration of 'end' [-Wimplicit-int]
/in/foo.c:35:1: error: unknown type name 'function'
function max(a,b:longint):longint;
^~~~~~~~
/in/foo.c:35:17: error: expected ')' before ':' token
function max(a,b:longint):longint;
^
/in/foo.c:39:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'if'
if a=x2)and(y1>=y2))or((x1>=y2)and(y1>=x2)) then exit(true) else exit(false);
^~
/in/foo.c:41:1: warning: data definition has no type or storage class
end;
^~~
/in/foo.c:41:1: warning: type defaults to 'int' in declaration of 'end' [-Wimplicit-int]
/in/foo.c:43:1: error: unknown type name 'procedure'
procedure find;
^~~~~~~~~
/in/foo.c:45:1: error: unknown type name 'var'
var i,j,t,k,p,h:longint;
^~~
/in/foo.c:45:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
var i,j,t,k,p,h:longint;
^
/in/foo.c:47:1: error: unknown type name 'begin'
begin
^~~~~
/in/foo.c:49:12: error: expected ')' before 'sizeof'
fillchar(f,sizeof(f),0);
^~~~~~
/in/foo.c:51:1: error: expected identifier or '(' before '{' token
{for i:=1 to m do
^
/in/foo.c:61:4: error: expected ']' before ',' token
f[1,1,1]:=block[1,1];f[1,1,2]:=block[1,2];f[1,1,3]:=block[1,3];
^
/in/foo.c:61:25: error: expected ']' before ',' token
f[1,1,1]:=block[1,1];f[1,1,2]:=block[1,2];f[1,1,3]:=block[1,3];
^
/in/foo.c:61:46: error: expected ']' before ',' token
f[1,1,1]:=block[1,1];f[1,1,2]:=block[1,2];f[1,1,3]:=block[1,3];
^
/in/foo.c:63:1: error: expected identifier or '(' before 'for'
for i:=2 to n do
^~~
/in/foo.c:81:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
t:=f;
^
/in/foo.c:83:1: warning: data definition has no type or storage class
end;
^~~
/in/foo.c:83:1: warning: type defaults to 'int' in declaration of 'end' [-Wimplicit-int]
/in/foo.c:85:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
f:=max(f[p,j-1,h]+block,f);
^
/in/foo.c:87:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
t:=f;
^
/in/foo.c:89:1: warning: data definition has no type or storage class
end;
^~~
/in/foo.c:89:1: warning: type defaults to 'int' in declaration of 'end' [-Wimplicit-int]
/in/foo.c:91:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
t:=0;
^
/in/foo.c:93:1: error: expected identifier or '(' before 'for'
for i:=m to n do
^~~
/in/foo.c:97:1: warning: data definition has no type or storage class
writeln(t);
^~~~~~~
/in/foo.c:97:1: warning: type defaults to 'int' in declaration of 'writeln' [-Wimplicit-int]
/in/foo.c:97:1: warning: parameter names (without types) in function declaration
/in/foo.c:99:1: warning: data definition has no type or storage class
end;
^~~
/in/foo.c:99:1: warning: type defaults to 'int' in declaration of 'end' [-Wimplicit-int]
/in/foo.c:101:1: error: unknown type name 'begin'
begin
^~~~~
/in/foo.c:105:1: warning: data definition has no type or storage class
find;
^~~~
/in/foo.c:105:1: warning: type defaults to 'int' in declaration of 'find' [-Wimplicit-int]
/in/foo.c:107:4: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
end.
^