/ Vijos /

记录详情

Compile Error

/in/Main.java:1: error: class, interface, or enum expected
Const maxn=1000100;
^
/in/Main.java:3: error: class, interface, or enum expected
Var
^
/in/Main.java:7: error: class, interface, or enum expected
vis:array[1..maxn*2]of boolean;
^
/in/Main.java:9: error: class, interface, or enum expected
dis:array[1..maxn*2]of int64;
^
/in/Main.java:11: error: class, interface, or enum expected
n,m,k,i,j:longint;
^
/in/Main.java:13: error: class, interface, or enum expected
sum:qword;
^
/in/Main.java:15: error: class, interface, or enum expected
Procedure init;
^
/in/Main.java:17: error: class, interface, or enum expected
var i:longint;
^
/in/Main.java:19: error: class, interface, or enum expected
begin
^
/in/Main.java:23: error: class, interface, or enum expected
for i:=1 to m do readln(sa[i],sb[i],se[i]);
^
/in/Main.java:25: error: class, interface, or enum expected
end;
^
/in/Main.java:27: error: class, interface, or enum expected
Procedure qsort(l,r:longint);
^
/in/Main.java:29: error: class, interface, or enum expected
var i,j,x,y:longint;
^
/in/Main.java:31: error: class, interface, or enum expected
begin
^
/in/Main.java:33: error: class, interface, or enum expected
i:=l;j:=r;x:=a[(l+r)shr 1];
     ^
/in/Main.java:33: error: class, interface, or enum expected
i:=l;j:=r;x:=a[(l+r)shr 1];
          ^
/in/Main.java:35: error: class, interface, or enum expected
Repeat
^
/in/Main.java:39: error: class, interface, or enum expected
if ij;
^
/in/Main.java:41: error: class, interface, or enum expected
if idis+cost1[k] then begin
^
/in/Main.java:45: error: class, interface, or enum expected
if not check[toti1[k]] then begin
^
/in/Main.java:49: error: class, interface, or enum expected
team[tail]:=toti1[k];
^
/in/Main.java:51: error: class, interface, or enum expected
check[toti1[k]]:=true;
^
/in/Main.java:53: error: class, interface, or enum expected
end;
^
/in/Main.java:55: error: class, interface, or enum expected
end;
^
/in/Main.java:57: error: class, interface, or enum expected
k:=next1[k];
^
/in/Main.java:59: error: class, interface, or enum expected
end;
^
/in/Main.java:61: error: class, interface, or enum expected
until head>tail;
^
/in/Main.java:63: error: class, interface, or enum expected
for i:=1 to p do inc(ans,dis[i]);
^
/in/Main.java:65: error: class, interface, or enum expected
end;
^
/in/Main.java:66: error: class, interface, or enum expected
procedure spfa2;
^
/in/Main.java:68: error: class, interface, or enum expected
var
^
/in/Main.java:72: error: class, interface, or enum expected
begin
^
/in/Main.java:76: error: class, interface, or enum expected
for i:=1 to p do dis[i]:=30000000001;
^
/in/Main.java:78: error: class, interface, or enum expected
head:=0;
^
/in/Main.java:80: error: class, interface, or enum expected
tail:=1;
^
/in/Main.java:82: error: class, interface, or enum expected
dis[1]:=0;
^
/in/Main.java:84: error: class, interface, or enum expected
team[1]:=1;
^
/in/Main.java:86: error: class, interface, or enum expected
check[1]:=true;
^
/in/Main.java:88: error: class, interface, or enum expected
repeat
^
/in/Main.java:92: error: class, interface, or enum expected
u:=team[head];
^
/in/Main.java:94: error: class, interface, or enum expected
check:=false;
^
/in/Main.java:96: error: class, interface, or enum expected
k:=list2;
^
/in/Main.java:98: error: class, interface, or enum expected
while k0 do begin
^
/in/Main.java:104: error: class, interface, or enum expected
if not check[toti2[k]] then begin
^
/in/Main.java:108: error: class, interface, or enum expected
team[tail]:=toti2[k];
^
/in/Main.java:110: error: class, interface, or enum expected
check[toti2[k]]:=true;
^
/in/Main.java:112: error: class, interface, or enum expected
end;
^
/in/Main.java:114: error: class, interface, or enum expected
end;
^
/in/Main.java:116: error: class, interface, or enum expected
k:=next2[k];
^
/in/Main.java:118: error: class, interface, or enum expected
end;
^
/in/Main.java:120: error: class, interface, or enum expected
until head>tail;
^
/in/Main.java:122: error: class, interface, or enum expected
for i:=1 to p do inc(ans,dis[i]);
^
/in/Main.java:124: error: class, interface, or enum expected
end;
^
/in/Main.java:125: error: class, interface, or enum expected
begin
^
/in/Main.java:127: error: unclosed character literal
assign(input,'poj1511.in');
             ^
/in/Main.java:127: error: unclosed character literal
assign(input,'poj1511.in');
                        ^
/in/Main.java:129: error: class, interface, or enum expected
reset(input);
^
/in/Main.java:131: error: class, interface, or enum expected
readln(nn);
^
/in/Main.java:133: error: class, interface, or enum expected
for ii:=1 to nn do begin
^
/in/Main.java:137: error: class, interface, or enum expected
ans:=0;
^
/in/Main.java:139: error: class, interface, or enum expected
tot:=0;
^
/in/Main.java:141: error: class, interface, or enum expected
fillchar(list1,sizeof(list1),0);
^
/in/Main.java:143: error: class, interface, or enum expected
fillchar(list2,sizeof(list2),0);
^
/in/Main.java:145: error: class, interface, or enum expected
for i:=1 to q do begin
^
/in/Main.java:149: error: class, interface, or enum expected
add1(x,y,z);
^
/in/Main.java:151: error: class, interface, or enum expected
add2(y,x,z);
^
/in/Main.java:153: error: class, interface, or enum expected
end;
^
/in/Main.java:155: error: class, interface, or enum expected
spfa1;
^
/in/Main.java:157: error: class, interface, or enum expected
spfa2;
^
/in/Main.java:159: error: class, interface, or enum expected
writeln(ans);
^
/in/Main.java:161: error: class, interface, or enum expected
end;
^
/in/Main.java:163: error: class, interface, or enum expected
close(input);
^
/in/Main.java:165: error: class, interface, or enum expected
end.
^
/in/Main.java:168: error: class, interface, or enum expected
Var
^
/in/Main.java:170: error: illegal character: '\uff0c'
sa?sb?se?a?b?e?f?q:array[1..maxn*2]of int64;
  ^
/in/Main.java:170: error: illegal character: '\uff0c'
sa?sb?se?a?b?e?f?q:array[1..maxn*2]of int64;
     ^
/in/Main.java:170: error: illegal character: '\uff0c'
sa?sb?se?a?b?e?f?q:array[1..maxn*2]of int64;
        ^
/in/Main.java:170: error: illegal character: '\uff0c'
sa?sb?se?a?b?e?f?q:array[1..maxn*2]of int64;
          ^
/in/Main.java:170: error: illegal character: '\uff0c'
sa?sb?se?a?b?e?f?q:array[1..maxn*2]of int64;
            ^
/in/Main.java:170: error: illegal character: '\uff0c'
sa?sb?se?a?b?e?f?q:array[1..maxn*2]of int64;
              ^
/in/Main.java:170: error: illegal character: '\uff0c'
sa?sb?se?a?b?e?f?q:array[1..maxn*2]of int64;
                ^
/in/Main.java:172: error: class, interface, or enum expected
vis:array[1..maxn*2]of boolean;
^
/in/Main.java:174: error: class, interface, or enum expected
dis:array[1..maxn*2]of int64;
^
/in/Main.java:176: error: illegal character: '\uff0c'
n?m?k?i?j:longint;
 ^
/in/Main.java:176: error: illegal character: '\uff0c'
n?m?k?i?j:longint;
   ^
/in/Main.java:176: error: illegal character: '\uff0c'
n?m?k?i?j:longint;
     ^
/in/Main.java:176: error: illegal character: '\uff0c'
n?m?k?i?j:longint;
       ^
/in/Main.java:178: error: class, interface, or enum expected
sum:qword;
^
/in/Main.java:180: error: class, interface, or enum expected
Procedure init;
^
/in/Main.java:182: error: class, interface, or enum expected
var i:longint;
^
/in/Main.java:184: error: class, interface, or enum expected
begin
^
/in/Main.java:186: error: illegal character: '\uff08'
readln?n?m?;
      ^
/in/Main.java:186: error: illegal character: '\uff0c'
readln?n?m?;
        ^
/in/Main.java:186: error: illegal character: '\uff09'
readln?n?m?;
          ^
/in/Main.java:188: error: class, interface, or enum expected
for i:=1 to m do readln?sa[i]?sb[i]?se[i]?;
^
/in/Main.java:188: error: illegal character: '\uff08'
for i:=1 to m do readln?sa[i]?sb[i]?se[i]?;
                       ^
/in/Main.java:188: error: illegal character: '\uff0c'
for i:=1 to m do readln?sa[i]?sb[i]?se[i]?;
                             ^
/in/Main.java:188: error: illegal character: '\uff0c'
for i:=1 to m do readln?sa[i]?sb[i]?se[i]?;
                                   ^
/in/Main.java:188: error: illegal character: '\uff09'
for i:=1 t

信息

递交者
类型
递交
题目
P1086 Sunnypig闯穿梭关
语言
Java
递交时间
2017-09-09 16:30:52
评测时间
2017-09-09 16:30:52
评测机
分数
0
总耗时
764ms
峰值内存
30.5 MiB