./Main.java:1: error: class, interface, or enum expected
var n,i,a,s:longint;
^
./Main.java:3: error: illegal character: '\u3000'
?? b,c:Array [1..1000] of longint;
^
./Main.java:3: error: illegal character: '\u3000'
?? b,c:Array [1..1000] of longint;
^
./Main.java:3: error: class, interface, or enum expected
?? b,c:Array [1..1000] of longint;
^
./Main.java:5: error: class, interface, or enum expected
begin
^
./Main.java:9: error: class, interface, or enum expected
for i:=1 to n do
^
./Main.java:11: error: illegal character: '\u3000'
??begin
^
./Main.java:11: error: illegal character: '\u3000'
??begin
^
./Main.java:13: error: illegal character: '\u3000'
?? read(a);
^
./Main.java:13: error: illegal character: '\u3000'
?? read(a);
^
./Main.java:15: error: illegal character: '\u3000'
?? b[a]:=1;
^
./Main.java:15: error: illegal character: '\u3000'
?? b[a]:=1;
^
./Main.java:15: error: class, interface, or enum expected
?? b[a]:=1;
^
./Main.java:17: error: illegal character: '\u3000'
??end;
^
./Main.java:17: error: illegal character: '\u3000'
??end;
^
./Main.java:17: error: class, interface, or enum expected
??end;
^
./Main.java:19: error: class, interface, or enum expected
for i:=1 to 1000 do
^
./Main.java:21: error: illegal character: '\u3000'
??if b[i]=1 then begin inc(s);c:=i; end;
^
./Main.java:21: error: illegal character: '\u3000'
??if b[i]=1 then begin inc(s);c:=i; end;
^
./Main.java:21: error: class, interface, or enum expected
??if b[i]=1 then begin inc(s);c:=i; end;
^
./Main.java:21: error: class, interface, or enum expected
??if b[i]=1 then begin inc(s);c:=i; end;
^
./Main.java:23: error: class, interface, or enum expected
writeln(s);
^
./Main.java:25: error: class, interface, or enum expected
for i:=1 to s do
^
./Main.java:27: error: illegal character: '\u3000'
??write(c[i],' ');
^
./Main.java:27: error: illegal character: '\u3000'
??write(c[i],' ');
^
./Main.java:29: error: class, interface, or enum expected
writeln;
^
./Main.java:31: error: class, interface, or enum expected
end.
^
27 errors
[Hydro](https://hydro.ac)提供评测服务