/ Vijos /

记录详情

Compile Error

./Main.java:1: error: class, interface, or enum expected
var
^
./Main.java:3: error: class, interface, or enum expected
    k,tot:int64;
    ^
./Main.java:4: error: class, interface, or enum expected
begin
^
./Main.java:6: error: class, interface, or enum expected
    tot:=k*(k+1) div 2;
    ^
./Main.java:7: error: class, interface, or enum expected
    for i:=1 to k do begin
    ^
./Main.java:9: error: class, interface, or enum expected
        dec(tot,n);
        ^
./Main.java:10: error: class, interface, or enum expected
    end;
    ^
./Main.java:11: error: class, interface, or enum expected
    writeln(tot);
    ^
./Main.java:12: error: class, interface, or enum expected
end.
^
9 errors

自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)

信息

递交者
类型
递交
题目
P1245 座位的争执
语言
Java
递交时间
2020-05-29 20:13:01
评测时间
2020-05-29 20:13:01
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes