/in/Main.java:1: error: class, interface, or enum expected
program kk;
^
/in/Main.java:3: error: class, interface, or enum expected
var ss,s:string;
^
/in/Main.java:5: error: class, interface, or enum expected
n,l,i,j:integer;
^
/in/Main.java:7: error: class, interface, or enum expected
ji:longint;
^
/in/Main.java:9: error: class, interface, or enum expected
a:array[1..1000] of char;
^
/in/Main.java:11: error: class, interface, or enum expected
begin
^
/in/Main.java:15: error: class, interface, or enum expected
l:=length(ss);
^
/in/Main.java:17: error: class, interface, or enum expected
for i:=1 to l do
^
/in/Main.java:27: error: class, interface, or enum expected
break;
^
/in/Main.java:29: error: class, interface, or enum expected
end;
^
/in/Main.java:31: error: class, interface, or enum expected
ji:=1;
^
/in/Main.java:33: error: class, interface, or enum expected
for i:=1 to n do
^
/in/Main.java:39: error: class, interface, or enum expected
while ji mod 10=0 do ji:=ji div 10;
^
/in/Main.java:41: error: class, interface, or enum expected
if ji mod 100 then ji:=ji mod 10;
^
/in/Main.java:43: error: class, interface, or enum expected
end;
^
/in/Main.java:45: error: class, interface, or enum expected
str(ji,s);
^
/in/Main.java:47: error: class, interface, or enum expected
l:=length(s);
^
/in/Main.java:49: error: class, interface, or enum expected
for i:=1 to l do
^
/in/Main.java:53: error: class, interface, or enum expected
for i:=l downto 1 do
^
/in/Main.java:61: error: class, interface, or enum expected
exit;
^
/in/Main.java:63: error: class, interface, or enum expected
end;
^
/in/Main.java:65: error: class, interface, or enum expected
end.
^
22 errors