/ Vijos /

记录详情

Compile Error

./Main.java:1: error: class, interface, enum, or record expected
program p1100;
^
./Main.java:3: error: class, interface, enum, or record expected
type arr=array [1..20000] of longint;
^
./Main.java:5: error: class, interface, enum, or record expected
var
^
./Main.java:9: error: class, interface, enum, or record expected
t1,t2:real;
^
./Main.java:11: error: class, interface, enum, or record expected
a,b:array [1..20000] of longint;
^
./Main.java:13: error: class, interface, enum, or record expected
procedure qsort(var a:arr;l,r:longint);
^
./Main.java:13: error: class, interface, enum, or record expected
procedure qsort(var a:arr;l,r:longint);
                          ^
./Main.java:15: error: class, interface, enum, or record expected
var i,j,m,p:longint;
^
./Main.java:17: error: class, interface, enum, or record expected
begin
^
./Main.java:19: error: class, interface, enum, or record expected
i:=l; j:=r;
      ^
./Main.java:21: error: class, interface, enum, or record expected
m:=a[l];
^
./Main.java:23: error: class, interface, enum, or record expected
repeat
^
./Main.java:27: error: class, interface, enum, or record expected
if ij;
^
./Main.java:29: error: class, interface, enum, or record expected
if l=q then writeln('V.I.P. should stay at (',t1:0:1,',',t2:0:1,').') else writeln('This is a dangerous situation!');
^
./Main.java:29: error: unclosed character literal
if l=q then writeln('V.I.P. should stay at (',t1:0:1,',',t2:0:1,').') else writeln('This is a dangerous situation!');
                    ^
./Main.java:29: error: unclosed character literal
if l=q then writeln('V.I.P. should stay at (',t1:0:1,',',t2:0:1,').') else writeln('This is a dangerous situation!');
                                            ^
./Main.java:29: error: unclosed character literal
if l=q then writeln('V.I.P. should stay at (',t1:0:1,',',t2:0:1,').') else writeln('This is a dangerous situation!');
                                                                ^
./Main.java:29: error: unclosed character literal
if l=q then writeln('V.I.P. should stay at (',t1:0:1,',',t2:0:1,').') else writeln('This is a dangerous situation!');
                                                                   ^
./Main.java:29: error: unclosed character literal
if l=q then writeln('V.I.P. should stay at (',t1:0:1,',',t2:0:1,').') else writeln('This is a dangerous situation!');
                                                                                   ^
./Main.java:29: error: unclosed character literal
if l=q then writeln('V.I.P. should stay at (',t1:0:1,',',t2:0:1,').') else writeln('This is a dangerous situation!');
                                                                                                                  ^
./Main.java:31: error: class, interface, enum, or record expected
end else writeln('This is a dangerous situation!');
^
./Main.java:31: error: unclosed character literal
end else writeln('This is a dangerous situation!');
                 ^
./Main.java:31: error: unclosed character literal
end else writeln('This is a dangerous situation!');
                                                ^
./Main.java:33: error: class, interface, enum, or record expected
end.
^
24 errors
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1601 保卫峰会
语言
Java
递交时间
2022-01-08 19:00:53
评测时间
2022-01-08 19:00:53
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes