./Main.java:1: error: class, interface, enum, or record expected
var pre,res,vis,ok,len:Array[0..101]of longint;
^
./Main.java:2: error: class, interface, enum, or record expected
lin,ans:Array[0..101]of longint;
^
./Main.java:3: error: class, interface, enum, or record expected
i,j,k,m,n,t,l,r,best:longint;
^
./Main.java:4: error: class, interface, enum, or record expected
flag:Boolean;
^
./Main.java:5: error: class, interface, enum, or record expected
s,st:String;
^
./Main.java:6: error: class, interface, enum, or record expected
function bush(s:String):longint;
^
./Main.java:7: error: class, interface, enum, or record expected
var i,j:longint;
^
./Main.java:8: error: class, interface, enum, or record expected
begin
^
./Main.java:10: error: class, interface, enum, or record expected
for i:=1 to length(s) do
^
./Main.java:12: error: class, interface, enum, or record expected
end;
^
./Main.java:13: error: class, interface, enum, or record expected
procedure print(x,y:longint);
^
./Main.java:14: error: class, interface, enum, or record expected
var i,j:longint;
^
./Main.java:15: error: class, interface, enum, or record expected
begin
^
./Main.java:16: error: unclosed character literal
write('FD ');
^
./Main.java:16: error: unclosed character literal
write('FD ');
^
./Main.java:17: error: class, interface, enum, or record expected
write(x);
^
./Main.java:18: error: class, interface, enum, or record expected
write(' is redundant using FDs:');
^
./Main.java:18: error: unclosed character literal
write(' is redundant using FDs:');
^
./Main.java:18: error: unclosed character literal
write(' is redundant using FDs:');
^
./Main.java:19: error: class, interface, enum, or record expected
for i:=1 to y do write(' ',ans[i]);
^
./Main.java:20: error: class, interface, enum, or record expected
writeln;
^
./Main.java:21: error: class, interface, enum, or record expected
end;
^
./Main.java:22: error: class, interface, enum, or record expected
function dfs(dep,now,goa:longint):Boolean;
^
./Main.java:23: error: class, interface, enum, or record expected
var i,j,k:longint;
^
./Main.java:24: error: class, interface, enum, or record expected
begin
^
./Main.java:27: error: class, interface, enum, or record expected
ans:=lin;
^
./Main.java:28: error: class, interface, enum, or record expected
exit;
^
./Main.java:29: error: class, interface, enum, or record expected
end;
^
./Main.java:30: error: class, interface, enum, or record expected
if dep >= best then exit;
^
./Main.java:31: error: class, interface, enum, or record expected
for i:=1 to n do
^
./Main.java:34: error: class, interface, enum, or record expected
vis[i]:=1;
^
./Main.java:35: error: class, interface, enum, or record expected
dfs(dep+1,now or res[i],goa);
^
./Main.java:36: error: class, interface, enum, or record expected
vis[i]:=0;
^
./Main.java:37: error: class, interface, enum, or record expected
end;
^
./Main.java:38: error: class, interface, enum, or record expected
end;
^
./Main.java:39: error: class, interface, enum, or record expected
begin
^
./Main.java:41: error: class, interface, enum, or record expected
for i:=1 to n do begin
^
./Main.java:43: error: class, interface, enum, or record expected
st:=copy(s,1,pos('-',s)-1);
^
./Main.java:44: error: class, interface, enum, or record expected
delete(s,1,pos('>',s));
^
./Main.java:45: error: class, interface, enum, or record expected
pre[i]:=bush(st);
^
./Main.java:46: error: class, interface, enum, or record expected
res[i]:=bush(s);
^
./Main.java:47: error: class, interface, enum, or record expected
end;
^
./Main.java:48: error: class, interface, enum, or record expected
for i:=1 to n do begin
^
./Main.java:50: error: class, interface, enum, or record expected
vis[i]:=1;
^
./Main.java:51: error: class, interface, enum, or record expected
flag:=true;
^
./Main.java:52: error: class, interface, enum, or record expected
t:=pre[i]; r:=res[i];
^
./Main.java:52: error: class, interface, enum, or record expected
t:=pre[i]; r:=res[i];
^
./Main.java:53: error: class, interface, enum, or record expected
while flag do begin
^
./Main.java:55: error: class, interface, enum, or record expected
flag:=false;
^
./Main.java:56: error: class, interface, enum, or record expected
j:=1;
^
./Main.java:57: error: class, interface, enum, or record expected
while j<=n do begin
^
./Main.java:60: error: class, interface, enum, or record expected
vis[j]:=1;
^
./Main.java:61: error: class, interface, enum, or record expected
inc(len[i]);
^
./Main.java:62: error: class, interface, enum, or record expected
flag:=true;
^
./Main.java:63: error: class, interface, enum, or record expected
end;
^
./Main.java:64: error: class, interface, enum, or record expected
inc(j);
^
./Main.java:65: error: class, interface, enum, or record expected
end;
^
./Main.java:66: error: class, interface, enum, or record expected
end;
^
./Main.java:67: error: class, interface, enum, or record expected
if flag then begin
^
./Main.java:69: error: class, interface, enum, or record expected
inc(m);
^
./Main.java:70: error: class, interface, enum, or record expected
end;
^
./Main.java:71: error: class, interface, enum, or record expected
end;
^
./Main.java:72: error: class, interface, enum, or record expected
fillchar(vis,sizeof(vis),0);
^
./Main.java:73: error: class, interface, enum, or record expected
if m<>0 then begin
^
./Main.java:77: error: class, interface, enum, or record expected
vis[i]:=1;
^
./Main.java:78: error: class, interface, enum, or record expected
dfs(0,pre[i],res[i]);
^
./Main.java:79: error: class, interface, enum, or record expected
print(i,best);
^
./Main.java:80: error: class, interface, enum, or record expected
vis[i]:=0;
^
./Main.java:81: error: class, interface, enum, or record expected
end;
^
./Main.java:82: error: class, interface, enum, or record expected
end
^
./Main.java:83: error: unclosed character literal
else writeln('No redundant FDs.');
^
./Main.java:83: error: unclosed character literal
else writeln('No redundant FDs.');
^
./Main.java:84: error: class, interface, enum, or record expected
end.
^
73 errors