/ Vijos /

记录详情

Compile Error

./Main.java:1: error: class, interface, or enum expected
var
^
./Main.java:5: error: class, interface, or enum expected
m,i:longint;
^
./Main.java:7: error: class, interface, or enum expected
a,b:array[0..1000]of longint;
^
./Main.java:9: error: class, interface, or enum expected
procedure cheng;
^
./Main.java:11: error: class, interface, or enum expected
var
^
./Main.java:15: error: class, interface, or enum expected
begin
^
./Main.java:19: error: class, interface, or enum expected
for i:=length(S)-1 downto 1 do
^
./Main.java:25: error: class, interface, or enum expected
a:=a mod 10;
^
./Main.java:27: error: class, interface, or enum expected
end;
^
./Main.java:29: error: class, interface, or enum expected
a[0]:=a[1] div 10;
^
./Main.java:31: error: class, interface, or enum expected
a[1]:=a[1] mod 10;
^
./Main.java:33: error: class, interface, or enum expected
inc(a[length(s)]);
^
./Main.java:35: error: class, interface, or enum expected
end;
^
./Main.java:37: error: class, interface, or enum expected
procedure divv;
^
./Main.java:39: error: class, interface, or enum expected
var
^
./Main.java:43: error: class, interface, or enum expected
x:int64;
^
./Main.java:45: error: class, interface, or enum expected
begin
^
./Main.java:49: error: class, interface, or enum expected
t:=a[0];
^
./Main.java:51: error: class, interface, or enum expected
for i:=1 to length(s) do
^
./Main.java:55: error: class, interface, or enum expected
writeln(t);
^
./Main.java:57: error: class, interface, or enum expected
end;
^
./Main.java:59: error: class, interface, or enum expected
begin
^
./Main.java:63: error: class, interface, or enum expected
readln(m);
^
./Main.java:65: error: class, interface, or enum expected
for i:=1 to length(s) do a[i]:=ord(s[i])-48;
^
./Main.java:67: error: class, interface, or enum expected
cheng;
^
./Main.java:69: error: class, interface, or enum expected
divv;
^
./Main.java:71: error: class, interface, or enum expected
end.
^
27 errors
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1309 分凸多边形
语言
Java
递交时间
2021-08-08 21:40:09
评测时间
2021-08-08 21:40:09
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes