/in/Main.java:1: error: class, interface, or enum expected
var n,m:Longint;
^
/in/Main.java:3: error: class, interface, or enum expected
a,b,c:array[0..100]of longint;
^
/in/Main.java:5: error: class, interface, or enum expected
block:array[0..100,0..3]of longint;
^
/in/Main.java:7: error: class, interface, or enum expected
f:array[0..100,0..100,0..3]of longint;
^
/in/Main.java:9: error: class, interface, or enum expected
procedure init;
^
/in/Main.java:11: error: class, interface, or enum expected
var i:longint;
^
/in/Main.java:13: error: class, interface, or enum expected
begin
^
/in/Main.java:17: error: class, interface, or enum expected
a[0]:=0;b[0]:=0;c[0]:=0;fillchar(block,sizeof(block),0);
^
/in/Main.java:17: error: class, interface, or enum expected
a[0]:=0;b[0]:=0;c[0]:=0;fillchar(block,sizeof(block),0);
^
/in/Main.java:17: error: class, interface, or enum expected
a[0]:=0;b[0]:=0;c[0]:=0;fillchar(block,sizeof(block),0);
^
/in/Main.java:17: error: class, interface, or enum expected
a[0]:=0;b[0]:=0;c[0]:=0;fillchar(block,sizeof(block),0);
^
/in/Main.java:19: error: class, interface, or enum expected
for i:=1 to n do
^
/in/Main.java:25: error: class, interface, or enum expected
block:=c[i];
^
/in/Main.java:27: error: class, interface, or enum expected
block:=a[i];
^
/in/Main.java:29: error: class, interface, or enum expected
block:=b[i];
^
/in/Main.java:31: error: class, interface, or enum expected
end;
^
/in/Main.java:33: error: class, interface, or enum expected
end;
^
/in/Main.java:35: error: class, interface, or enum expected
function max(a,b:longint):longint;
^
/in/Main.java:37: error: class, interface, or enum expected
begin
^
/in/Main.java:41: error: class, interface, or enum expected
end;
^
/in/Main.java:43: error: class, interface, or enum expected
procedure find;
^
/in/Main.java:45: error: class, interface, or enum expected
var i,j,t,k,p,h:longint;
^
/in/Main.java:47: error: class, interface, or enum expected
begin
^
/in/Main.java:51: error: class, interface, or enum expected
{for i:=1 to m do
^
/in/Main.java:59: error: class, interface, or enum expected
}
^
/in/Main.java:61: error: class, interface, or enum expected
f[1,1,1]:=block[1,1];f[1,1,2]:=block[1,2];f[1,1,3]:=block[1,3];
^
/in/Main.java:61: error: class, interface, or enum expected
f[1,1,1]:=block[1,1];f[1,1,2]:=block[1,2];f[1,1,3]:=block[1,3];
^
/in/Main.java:63: error: class, interface, or enum expected
for i:=2 to n do
^
/in/Main.java:81: error: class, interface, or enum expected
t:=f;
^
/in/Main.java:83: error: class, interface, or enum expected
end;
^
/in/Main.java:85: error: class, interface, or enum expected
f:=max(f[p,j-1,h]+block,f);
^
/in/Main.java:87: error: class, interface, or enum expected
t:=f;
^
/in/Main.java:89: error: class, interface, or enum expected
end;
^
/in/Main.java:91: error: class, interface, or enum expected
t:=0;
^
/in/Main.java:93: error: class, interface, or enum expected
for i:=m to n do
^
/in/Main.java:97: error: class, interface, or enum expected
writeln(t);
^
/in/Main.java:99: error: class, interface, or enum expected
end;
^
/in/Main.java:101: error: class, interface, or enum expected
begin
^
/in/Main.java:105: error: class, interface, or enum expected
find;
^
/in/Main.java:107: error: class, interface, or enum expected
end.
^
40 errors