./Main.java:1: error: class, interface, enum, or record expected
var
^
./Main.java:5: error: class, interface, enum, or record expected
a,b:array[1..10000] of integer;
^
./Main.java:7: error: class, interface, enum, or record expected
procedure qq;
^
./Main.java:9: error: class, interface, enum, or record expected
var
^
./Main.java:13: error: class, interface, enum, or record expected
q1,q2,i:integer;
^
./Main.java:15: error: class, interface, enum, or record expected
begin
^
./Main.java:19: error: class, interface, enum, or record expected
readln(s1);
^
./Main.java:21: error: class, interface, enum, or record expected
readln(s2);
^
./Main.java:22: error: class, interface, enum, or record expected
p1:=length(s1);
^
./Main.java:24: error: class, interface, enum, or record expected
p2:=length(s2);
^
./Main.java:25: error: class, interface, enum, or record expected
q1:=pos('.',s1);
^
./Main.java:27: error: class, interface, enum, or record expected
q2:=pos('.',s2);
^
./Main.java:28: error: class, interface, enum, or record expected
if q10
^
./Main.java:32: error: class, interface, enum, or record expected
dian:=p1-q1; p1:=p1-1;
^
./Main.java:34: error: class, interface, enum, or record expected
delete(s1,q1,1);
^
./Main.java:36: error: class, interface, enum, or record expected
end;
^
./Main.java:37: error: class, interface, enum, or record expected
if q20
^
./Main.java:41: error: class, interface, enum, or record expected
dian:=dian+p2-q2; p2:=p2-1;
^
./Main.java:43: error: class, interface, enum, or record expected
delete(s1,q2,1);
^
./Main.java:45: error: class, interface, enum, or record expected
end;
^
./Main.java:46: error: class, interface, enum, or record expected
for i:=1 to p1 do
^
./Main.java:48: error: illegal '.'
if s1[i] in ['A'..'G']
^
./Main.java:53: error: class, interface, enum, or record expected
for i:=1 to p2 do
^
./Main.java:55: error: illegal '.'
if s2[i] in ['A'..'G']
^
./Main.java:61: error: class, interface, enum, or record expected
end;
^
./Main.java:63: error: class, interface, enum, or record expected
procedure main;
^
./Main.java:65: error: class, interface, enum, or record expected
var
^
./Main.java:69: error: class, interface, enum, or record expected
i,j,qq,aa:integer;
^
./Main.java:71: error: class, interface, enum, or record expected
c:array[1..10000] of integer;
^
./Main.java:73: error: class, interface, enum, or record expected
begin
^
./Main.java:77: error: class, interface, enum, or record expected
for i:=1 to p1 do
^
./Main.java:82: error: class, interface, enum, or record expected
if c[p1+p2]0
^
./Main.java:87: error: class, interface, enum, or record expected
for i:=1 to qq do
^
./Main.java:95: error: class, interface, enum, or record expected
c[i]:=c[i] mod n;
^
./Main.java:97: error: class, interface, enum, or record expected
end;
^
./Main.java:98: error: class, interface, enum, or record expected
if c[qq+1]0
^
./Main.java:101: error: class, interface, enum, or record expected
s:='';
^
./Main.java:101: error: empty character literal
s:='';
^
./Main.java:102: error: class, interface, enum, or record expected
for i:=1 to qq do
^
./Main.java:109: error: class, interface, enum, or record expected
if dian>0
^
./Main.java:115: error: class, interface, enum, or record expected
qq:=qq+1; aa:=0;
^
./Main.java:115: error: class, interface, enum, or record expected
qq:=qq+1; aa:=0;
^
./Main.java:116: error: class, interface, enum, or record expected
for i:=1 to qq do
^
./Main.java:123: error: class, interface, enum, or record expected
if s[aa+1]='.'
^
./Main.java:128: error: class, interface, enum, or record expected
end;
^
./Main.java:129: error: class, interface, enum, or record expected
qq:=length(s);
^
./Main.java:131: error: class, interface, enum, or record expected
for i:=qq downto 1 do
^
./Main.java:137: error: class, interface, enum, or record expected
if s[i]='.'
^
./Main.java:143: error: class, interface, enum, or record expected
i:=i+1;
^
./Main.java:145: error: class, interface, enum, or record expected
end;
^
./Main.java:146: error: class, interface, enum, or record expected
for j:=i downto 1do
^
./Main.java:150: error: class, interface, enum, or record expected
writeln;
^
./Main.java:152: error: class, interface, enum, or record expected
end;
^
./Main.java:153: error: class, interface, enum, or record expected
begin
^
./Main.java:157: error: class, interface, enum, or record expected
main;
^
./Main.java:159: error: class, interface, enum, or record expected
end.
^
56 errors