./Main.java:1: error: class, interface, or enum expected
var max,sum?tot:longint;
^
./Main.java:1: error: illegal character: '\uff0c'
var max,sum?tot:longint;
^
./Main.java:2: error: class, interface, or enum expected
g,j,n,m,k1,k2,i:integer;
^
./Main.java:3: error: class, interface, or enum expected
a:array [0..51,0..51] of boolean;
^
./Main.java:4: error: class, interface, or enum expected
b:array [1..4,1..2] of integer;
^
./Main.java:5: error: class, interface, or enum expected
p,q:array [1..50] of integer;
^
./Main.java:6: error: class, interface, or enum expected
f:array [0..50] of longint;
^
./Main.java:8: error: class, interface, or enum expected
procedure data1;
^
./Main.java:9: error: class, interface, or enum expected
begin
^
./Main.java:10: error: unclosed character literal
assign(input,'matrix.in');
^
./Main.java:10: error: unclosed character literal
assign(input,'matrix.in');
^
./Main.java:11: error: class, interface, or enum expected
assign(output,'matrix.out');
^
./Main.java:11: error: unclosed character literal
assign(output,'matrix.out');
^
./Main.java:11: error: unclosed character literal
assign(output,'matrix.out');
^
./Main.java:12: error: class, interface, or enum expected
reset(input);
^
./Main.java:13: error: class, interface, or enum expected
rewrite(output);
^
./Main.java:14: error: class, interface, or enum expected
end;
^
./Main.java:16: error: class, interface, or enum expected
procedure data2;
^
./Main.java:17: error: class, interface, or enum expected
begin
^
./Main.java:19: error: class, interface, or enum expected
close(output);
^
./Main.java:20: error: class, interface, or enum expected
end;
^
./Main.java:22: error: class, interface, or enum expected
procedure data(x,y:integer);
^
./Main.java:23: error: class, interface, or enum expected
var d,z:integer;
^
./Main.java:24: error: class, interface, or enum expected
begin
^
./Main.java:27: error: class, interface, or enum expected
if tot>=1000000 then begin writeln(sum);halt;end;
^
./Main.java:27: error: class, interface, or enum expected
if tot>=1000000 then begin writeln(sum);halt;end;
^
./Main.java:27: error: class, interface, or enum expected
if tot>=1000000 then begin writeln(sum);halt;end;
^
./Main.java:28: error: class, interface, or enum expected
inc(i);
^
./Main.java:29: error: class, interface, or enum expected
a[x,y]:=false;
^
./Main.java:30: error: class, interface, or enum expected
p[i]:=x;
^
./Main.java:31: error: class, interface, or enum expected
q[i]:=y;
^
./Main.java:32: error: class, interface, or enum expected
if i>g then f[i]:=k1*abs(p[i-g]-x)+k2*abs(q[i-g]-y);
^
./Main.java:33: error: class, interface, or enum expected
if i=2*g then begin
^
./Main.java:35: error: class, interface, or enum expected
for z:=g+1 to 2*g do if f[z]>max then max:=f[z];
^
./Main.java:36: error: class, interface, or enum expected
sum:=max;
^
./Main.java:37: error: class, interface, or enum expected
dec(i);
^
./Main.java:38: error: class, interface, or enum expected
a[x,y]:=true;
^
./Main.java:39: error: class, interface, or enum expected
exit;
^
./Main.java:40: error: class, interface, or enum expected
end;
^
./Main.java:41: error: class, interface, or enum expected
for d:=1 to 4 do begin data(x+b[d,1],y+b[d,2]);end;
^
./Main.java:41: error: class, interface, or enum expected
for d:=1 to 4 do begin data(x+b[d,1],y+b[d,2]);end;
^
./Main.java:42: error: class, interface, or enum expected
a[x,y]:=true;
^
./Main.java:43: error: class, interface, or enum expected
dec(i);
^
./Main.java:44: error: class, interface, or enum expected
end;
^
./Main.java:45: error: class, interface, or enum expected
end;
^
./Main.java:47: error: class, interface, or enum expected
procedure datain;
^
./Main.java:48: error: class, interface, or enum expected
begin
^
./Main.java:51: error: class, interface, or enum expected
fillchar(a,sizeof(a),false);
^
./Main.java:52: error: class, interface, or enum expected
b[1,1]:=1;
^
./Main.java:53: error: class, interface, or enum expected
b[2,1]:=-1;
^
./Main.java:54: error: class, interface, or enum expected
b[3,2]:=-1;
^
./Main.java:55: error: class, interface, or enum expected
b[4,2]:=1;
^
./Main.java:56: error: class, interface, or enum expected
for i:=1 to n do
^
./Main.java:59: error: class, interface, or enum expected
i:=0;
^
./Main.java:60: error: class, interface, or enum expected
sum:=maxlongint;
^
./Main.java:61: error: class, interface, or enum expected
g:=n*m div 2;
^
./Main.java:62: error: class, interface, or enum expected
data(1,1);
^
./Main.java:63: error: class, interface, or enum expected
writeln(sum);
^
./Main.java:65: error: class, interface, or enum expected
end;
^
./Main.java:67: error: class, interface, or enum expected
begin
^
./Main.java:71: error: class, interface, or enum expected
end.
^
61 errors