/in/Main.java:1: error: class, interface, or enum expected
program ctsc2000;
^
/in/Main.java:2: error: class, interface, or enum expected
var d1,l1,d2,k,y,z,y1,b,c,d,e,r,t,n,m,i,j,l:longint;
^
/in/Main.java:3: error: class, interface, or enum expected
a:array[1..366,1..20000]of record
^
/in/Main.java:5: error: class, interface, or enum expected
end;
^
/in/Main.java:6: error: class, interface, or enum expected
s1,s:string;
^
/in/Main.java:7: error: class, interface, or enum expected
t1:char;
^
/in/Main.java:8: error: class, interface, or enum expected
p:array[1..130]of longint;
^
/in/Main.java:9: error: class, interface, or enum expected
q,temp:array[0..100]of longint;
^
/in/Main.java:10: error: class, interface, or enum expected
f:array[0..366,0..732]of longint;
^
/in/Main.java:11: error: class, interface, or enum expected
num:array[1..366]of integer;
^
/in/Main.java:12: error: class, interface, or enum expected
function calc(b,c:integer):longint;
^
/in/Main.java:13: error: class, interface, or enum expected
var s,i:integer;
^
/in/Main.java:14: error: class, interface, or enum expected
begin
^
/in/Main.java:16: error: class, interface, or enum expected
for i:=1to b-1 do
^
/in/Main.java:18: error: class, interface, or enum expected
s:=s+c;
^
/in/Main.java:19: error: class, interface, or enum expected
calc:=s;
^
/in/Main.java:20: error: class, interface, or enum expected
end;
^
/in/Main.java:21: error: class, interface, or enum expected
procedure sort(w,i,j:integer);
^
/in/Main.java:22: error: class, interface, or enum expected
var x,y,mid,s:longint;
^
/in/Main.java:23: error: class, interface, or enum expected
begin
^
/in/Main.java:25: error: class, interface, or enum expected
y:=j;
^
/in/Main.java:26: error: class, interface, or enum expected
mid:=f[w,(i+j)div 2];
^
/in/Main.java:27: error: class, interface, or enum expected
repeat
^
/in/Main.java:29: error: class, interface, or enum expected
while f[w,y]<mid do dec(y);
^
/in/Main.java:30: error: class, interface, or enum expected
if x<=y then
^
/in/Main.java:33: error: class, interface, or enum expected
f[w,x]:=f[w,y];
^
/in/Main.java:34: error: class, interface, or enum expected
f[w,y]:=s;
^
/in/Main.java:35: error: class, interface, or enum expected
dec(y);inc(x);
^
/in/Main.java:35: error: class, interface, or enum expected
dec(y);inc(x);
^
/in/Main.java:36: error: class, interface, or enum expected
end;
^
/in/Main.java:37: error: class, interface, or enum expected
until x>y;
^
/in/Main.java:38: error: class, interface, or enum expected
if i<y then sort(w,i,y);
^
/in/Main.java:39: error: class, interface, or enum expected
if j>x then sort(w,x,j);
^
/in/Main.java:40: error: class, interface, or enum expected
end;
^
/in/Main.java:41: error: class, interface, or enum expected
begin
^
/in/Main.java:43: error: class, interface, or enum expected
readln(y);
^
/in/Main.java:44: error: class, interface, or enum expected
fillchar(num,sizeof(num),0);
^
/in/Main.java:45: error: class, interface, or enum expected
q[0]:=0;
^
/in/Main.java:46: error: class, interface, or enum expected
for i:=1to 12 do
^
/in/Main.java:49: error: class, interface, or enum expected
4,6,9,11:q[i]:=30;
^
/in/Main.java:50: error: class, interface, or enum expected
end;
^
/in/Main.java:51: error: class, interface, or enum expected
if (y mod 400=0)or ((y mod 4=0)and(y mod 100<>0))then
^
/in/Main.java:54: error: class, interface, or enum expected
q[2]:=29;
^
/in/Main.java:55: error: class, interface, or enum expected
end
^
/in/Main.java:56: error: class, interface, or enum expected
else begin q[2]:=28;y1:=365;end;
^
/in/Main.java:56: error: class, interface, or enum expected
else begin q[2]:=28;y1:=365;end;
^
/in/Main.java:57: error: class, interface, or enum expected
readln(r);
^
/in/Main.java:58: error: class, interface, or enum expected
for i:=1to r do
^
/in/Main.java:61: error: class, interface, or enum expected
j:=pos(' ',s);s1:=copy(s,1,j-1);
^
/in/Main.java:61: error: class, interface, or enum expected
j:=pos(' ',s);s1:=copy(s,1,j-1);
^
/in/Main.java:62: error: class, interface, or enum expected
delete(s,1,j+3);
^
/in/Main.java:63: error: class, interface, or enum expected
j:=pos('/',s1);
^
/in/Main.java:64: error: class, interface, or enum expected
val(copy(s1,1,j-1),b);
^
/in/Main.java:65: error: class, interface, or enum expected
val(copy(s1,j+1,length(s1)-j),c);
^
/in/Main.java:66: error: class, interface, or enum expected
j:=pos(' ',s);
^
/in/Main.java:67: error: class, interface, or enum expected
s1:=copy(s,1,j-1);
^
/in/Main.java:68: error: class, interface, or enum expected
delete(s,1,j);
^
/in/Main.java:69: error: class, interface, or enum expected
j:=pos('/',s1);
^
/in/Main.java:70: error: class, interface, or enum expected
val(copy(s1,1,j-1),d);
^
/in/Main.java:71: error: class, interface, or enum expected
val(copy(s1,j+1,length(s1)-j),e);
^
/in/Main.java:72: error: class, interface, or enum expected
d1:=calc(b,c);
^
/in/Main.java:73: error: class, interface, or enum expected
d2:=calc(d,e);
^
/in/Main.java:74: error: class, interface, or enum expected
inc(num[d2]);
^
/in/Main.java:75: error: class, interface, or enum expected
a[d2,num[d2]].x:=d1;
^
/in/Main.java:76: error: class, interface, or enum expected
a[d2,num[d2]].y:=d2-d1;
^
/in/Main.java:77: error: class, interface, or enum expected
val(s,a[d2,num[d2]].z);
^
/in/Main.java:78: error: class, interface, or enum expected
end;
^
/in/Main.java:79: error: class, interface, or enum expected
for i:=1to t do
^
/in/Main.java:81: error: class, interface, or enum expected
fillchar(f,sizeof(f),0);
^
/in/Main.java:82: error: class, interface, or enum expected
for i:=1to y1 do
^
/in/Main.java:85: error: class, interface, or enum expected
for j:=1 to num[i] do
^
/in/Main.java:88: error: class, interface, or enum expected
for l:=k+1 to 2*k do
^
/in/Main.java:90: error: class, interface, or enum expected
sort(i,1,2*k);
^
/in/Main.java:91: error: class, interface, or enum expected
m:=1;
^
/in/Main.java:92: error: class, interface, or enum expected
for l:=1to k do
^
/in/Main.java:98: error: class, interface, or enum expected
temp[l]:=f[i,m];
^
/in/Main.java:99: error: class, interface, or enum expected
inc(m);
^
/in/Main.java:100: error: class, interface, or enum expected
if m>2*k then begin
^
/in/Main.java:101: error: class, interface, or enum expected
for z:=l+1to k do temp[z]:=0;break;end;
^
/in/Main.java:101: error: class, interface, or enum expected
for z:=l+1to k do temp[z]:=0;break;end;
^
/in/Main.java:102: error: class, interface, or enum expected
end;
^
/in/Main.java:103: error: class, interface, or enum expected
end;
^
/in/Main.java:104: error: class, interface, or enum expected
for l:=1to k do
^
/in/Main.java:106: error: class, interface, or enum expected
end;
^
/in/Main.java:107: error: class, interface, or enum expected
end;
^
/in/Main.java:108: error: class, interface, or enum expected
if (k>1)and(f[y1,k]=0)and(f[y1,k-1]=0) then writeln('-1')
^
/in/Main.java:108: error: unclosed character literal
if (k>1)and(f[y1,k]=0)and(f[y1,k-1]=0) then writeln('-1')
^
/in/Main.java:108: error: unclosed character literal
if (k>1)and(f[y1,k]=0)and(f[y1,k-1]=0) then writeln('-1')
^
/in/Main.java:111: error: class, interface, or enum expected
end.
^
89 errors