/ Vijos /

记录详情

Compile Error

/in/Main.java:1: error: class, interface, or enum expected
var i,j,k1,k2,l1,l2,m,n,d,x,y,p,q,t,min,ans:longint;
^
/in/Main.java:3: error: class, interface, or enum expected
a,b:array[0..31,0..31]of longint;
^
/in/Main.java:5: error: class, interface, or enum expected
c:array[0..31,0..31]of boolean;
^
/in/Main.java:7: error: class, interface, or enum expected
procedure chuan(time,hen,zong:longint);
^
/in/Main.java:9: error: class, interface, or enum expected
var e,f,min:longint;
^
/in/Main.java:11: error: class, interface, or enum expected
begin
^
/in/Main.java:19: error: unclosed character literal
writeln('Error!');
        ^
/in/Main.java:19: error: unclosed character literal
writeln('Error!');
               ^
/in/Main.java:21: error: class, interface, or enum expected
write(hen,',',zong);
^
/in/Main.java:23: error: class, interface, or enum expected
halt;
^
/in/Main.java:25: error: class, interface, or enum expected
end
^
/in/Main.java:35: error: class, interface, or enum expected
write(hen,',',zong);
^
/in/Main.java:37: error: class, interface, or enum expected
halt;
^
/in/Main.java:39: error: class, interface, or enum expected
end;
^
/in/Main.java:41: error: class, interface, or enum expected
e:=hen;
^
/in/Main.java:43: error: class, interface, or enum expected
f:=zong;
^
/in/Main.java:45: error: class, interface, or enum expected
min:=maxlongint;
^
/in/Main.java:47: error: class, interface, or enum expected
if c[hen-1,zong] then begin min:=a[hen-1,zong];e:=hen-1;f:=zong;end;
^
/in/Main.java:47: error: class, interface, or enum expected
if c[hen-1,zong] then begin min:=a[hen-1,zong];e:=hen-1;f:=zong;end;
                                               ^
/in/Main.java:47: error: class, interface, or enum expected
if c[hen-1,zong] then begin min:=a[hen-1,zong];e:=hen-1;f:=zong;end;
                                                        ^
/in/Main.java:47: error: class, interface, or enum expected
if c[hen-1,zong] then begin min:=a[hen-1,zong];e:=hen-1;f:=zong;end;
                                                                ^
/in/Main.java:49: error: class, interface, or enum expected
if (c[hen,zong-1])and(min>a[hen,zong-1])then
^
/in/Main.java:55: error: class, interface, or enum expected
e:=hen;
^
/in/Main.java:57: error: class, interface, or enum expected
f:=zong-1;
^
/in/Main.java:59: error: class, interface, or enum expected
end;
^
/in/Main.java:61: error: class, interface, or enum expected
if (c[hen+1,zong])and(min>a[hen+1,zong])then
^
/in/Main.java:67: error: class, interface, or enum expected
e:=hen+1;
^
/in/Main.java:69: error: class, interface, or enum expected
f:=zong;
^
/in/Main.java:71: error: class, interface, or enum expected
end;
^
/in/Main.java:73: error: class, interface, or enum expected
if (c[hen,zong+1])and(min>a[hen,zong+1])then
^
/in/Main.java:79: error: class, interface, or enum expected
e:=hen;
^
/in/Main.java:81: error: class, interface, or enum expected
f:=zong+1;
^
/in/Main.java:83: error: class, interface, or enum expected
end;
^
/in/Main.java:85: error: class, interface, or enum expected
time:=time-min;
^
/in/Main.java:87: error: class, interface, or enum expected
if time>0 then begin ans:=ans+1;c[e,f]:=false;chuan(time,e,f);end
^
/in/Main.java:87: error: class, interface, or enum expected
if time>0 then begin ans:=ans+1;c[e,f]:=false;chuan(time,e,f);end
                                ^
/in/Main.java:87: error: class, interface, or enum expected
if time>0 then begin ans:=ans+1;c[e,f]:=false;chuan(time,e,f);end
                                              ^
/in/Main.java:87: error: class, interface, or enum expected
if time>0 then begin ans:=ans+1;c[e,f]:=false;chuan(time,e,f);end
                                                              ^
/in/Main.java:97: error: class, interface, or enum expected
write(e,',',f);
^
/in/Main.java:99: error: class, interface, or enum expected
halt;
^
/in/Main.java:101: error: class, interface, or enum expected
end
^
/in/Main.java:109: error: class, interface, or enum expected
write(e,',',f);
^
/in/Main.java:111: error: class, interface, or enum expected
halt;
^
/in/Main.java:113: error: class, interface, or enum expected
end;
^
/in/Main.java:115: error: class, interface, or enum expected
end;
^
/in/Main.java:117: error: class, interface, or enum expected
begin
^
/in/Main.java:121: error: class, interface, or enum expected
readln(k1,k2);
^
/in/Main.java:123: error: class, interface, or enum expected
for i:=1 to k1 do
^
/in/Main.java:133: error: class, interface, or enum expected
c:=true;
^
/in/Main.java:135: error: class, interface, or enum expected
if a=0 then
^
/in/Main.java:141: error: class, interface, or enum expected
y:=j;
^
/in/Main.java:143: error: class, interface, or enum expected
c:=false;
^
/in/Main.java:145: error: class, interface, or enum expected
end;
^
/in/Main.java:147: error: class, interface, or enum expected
end;
^
/in/Main.java:149: error: class, interface, or enum expected
readln;
^
/in/Main.java:151: error: class, interface, or enum expected
end;
^
/in/Main.java:153: error: class, interface, or enum expected
readln(l1,l2);
^
/in/Main.java:155: error: class, interface, or enum expected
for i:=1 to l1 do
^
/in/Main.java:165: error: class, interface, or enum expected
if b=0 then
^
/in/Main.java:171: error: class, interface, or enum expected
q:=j;
^
/in/Main.java:173: error: class, interface, or enum expected
end;
^
/in/Main.java:175: error: class, interface, or enum expected
end;
^
/in/Main.java:177: error: class, interface, or enum expected
readln;
^
/in/Main.java:179: error: class, interface, or enum expected
end;
^
/in/Main.java:181: error: class, interface, or enum expected
read(d);
^
/in/Main.java:183: error: class, interface, or enum expected
t:=0;
^
/in/Main.java:185: error: class, interface, or enum expected
min:=0;
^
/in/Main.java:187: error: class, interface, or enum expected
ans:=1;
^
/in/Main.java:189: error: class, interface, or enum expected
for i:=l1 downto p+1 do
^
/in/Main.java:195: error: class, interface, or enum expected
if d=0
^
/in/Main.java:205: error: class, interface, or enum expected
end
^
/in/Main.java:215: error: class, interface, or enum expected
end;
^
/in/Main.java:217: error: class, interface, or enum expected
chuan(t,x,y);
^
/in/Main.java:219: error: class, interface, or enum expected
end.
^
74 errors

信息

递交者
类型
递交
题目
P1503 笨笨的纸条传递
语言
Java
递交时间
2020-06-08 21:50:19
评测时间
2020-06-08 21:50:19
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes