/ Vijos /

记录详情

Compile Error

./Main.java:1: error: class, interface, enum, or record expected
var a:array[1..1000]of longint;
^
./Main.java:3: error: class, interface, enum, or record expected
n,i,j,k,sum:longint;
^
./Main.java:5: error: class, interface, enum, or record expected
begin
^
./Main.java:9: error: class, interface, enum, or record expected
for i:= 1 to n do
^
./Main.java:13: error: class, interface, enum, or record expected
for i:=n-1 downto 1 do
^
./Main.java:18: error: class, interface, enum, or record expected
sum:=0;
^
./Main.java:20: error: class, interface, enum, or record expected
for i:=1 to n do
^
./Main.java:24: error: class, interface, enum, or record expected
writeln(sum);
^
./Main.java:26: error: class, interface, enum, or record expected
end.
^
9 errors
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1220 拉面秘籍
语言
Java
递交时间
2023-06-06 17:11:05
评测时间
2023-06-06 17:11:05
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes