/ Vijos /

记录详情

Compile Error

/in/Main.java:1: error: class, interface, or enum expected
program T1039_4;
^
/in/Main.java:3: error: class, interface, or enum expected
const
^
/in/Main.java:5: error: unclosed character literal
filein='T1039_4.in';
       ^
/in/Main.java:5: error: unclosed character literal
filein='T1039_4.in';
                  ^
/in/Main.java:7: error: unclosed character literal
fileout='T1039_4.out';
        ^
/in/Main.java:7: error: unclosed character literal
fileout='T1039_4.out';
                    ^
/in/Main.java:11: error: class, interface, or enum expected
perx:array[1..4]of -1..1=(1,0,-1,0);
^
/in/Main.java:13: error: class, interface, or enum expected
pery:array[1..4]of -1..1=(0,1,0,-1);
^
/in/Main.java:15: error: class, interface, or enum expected
maxlongint=10000000;
^
/in/Main.java:17: error: class, interface, or enum expected
type
^
/in/Main.java:21: error: class, interface, or enum expected
Tarr=array[1..maxn,1..maxn]of Tin;
^
/in/Main.java:23: error: class, interface, or enum expected
Tarr2=array[0..maxn+1,0..maxn+1]of boolean;
^
/in/Main.java:25: error: class, interface, or enum expected
var
^
/in/Main.java:29: error: class, interface, or enum expected
man,cla:Tarr;
^
/in/Main.java:31: error: class, interface, or enum expected
pd:Tarr2;
^
/in/Main.java:33: error: class, interface, or enum expected
procedure init;
^
/in/Main.java:35: error: class, interface, or enum expected
var
^
/in/Main.java:39: error: class, interface, or enum expected
begin
^
/in/Main.java:43: error: class, interface, or enum expected
for i:=1 to x1 do
^
/in/Main.java:53: error: class, interface, or enum expected
if man=0
^
/in/Main.java:59: error: class, interface, or enum expected
sy:=j;
^
/in/Main.java:61: error: class, interface, or enum expected
end;
^
/in/Main.java:63: error: class, interface, or enum expected
end;
^
/in/Main.java:65: error: class, interface, or enum expected
readln;
^
/in/Main.java:67: error: class, interface, or enum expected
end;
^
/in/Main.java:69: error: class, interface, or enum expected
readln(x2,y2);
^
/in/Main.java:71: error: class, interface, or enum expected
for i:=x2 downto 1 do
^
/in/Main.java:81: error: class, interface, or enum expected
if cla=0
^
/in/Main.java:85: error: class, interface, or enum expected
end;
^
/in/Main.java:87: error: class, interface, or enum expected
readln;
^
/in/Main.java:89: error: class, interface, or enum expected
end;
^
/in/Main.java:91: error: class, interface, or enum expected
readln(start);
^
/in/Main.java:93: error: class, interface, or enum expected
end;
^
/in/Main.java:95: error: class, interface, or enum expected
procedure dfs(nx,ny,num:Tin);
^
/in/Main.java:97: error: class, interface, or enum expected
var
^
/in/Main.java:101: error: class, interface, or enum expected
begin
^
/in/Main.java:109: error: class, interface, or enum expected
writeln(nx,',',ny);
^
/in/Main.java:111: error: class, interface, or enum expected
exit;
^
/in/Main.java:113: error: class, interface, or enum expected
end;
^
/in/Main.java:115: error: class, interface, or enum expected
min:=maxlongint;
^
/in/Main.java:117: error: class, interface, or enum expected
t:=0;
^
/in/Main.java:119: error: class, interface, or enum expected
for i:=1 to 4 do
^
/in/Main.java:129: error: unclosed character literal
writeln('Error!');
        ^
/in/Main.java:129: error: unclosed character literal
writeln('Error!');
               ^
/in/Main.java:131: error: class, interface, or enum expected
writeln(minx,',',miny);
^
/in/Main.java:133: error: class, interface, or enum expected
exit;
^
/in/Main.java:135: error: class, interface, or enum expected
end
^
/in/Main.java:141: error: class, interface, or enum expected
pd[minx,miny]:=false;
^
/in/Main.java:143: error: class, interface, or enum expected
dfs(minx,miny,num+1);
^
/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
procedure main;
^
/in/Main.java:151: error: class, interface, or enum expected
var
^
/in/Main.java:155: error: class, interface, or enum expected
begin
^
/in/Main.java:159: error: class, interface, or enum expected
fillchar(pd,sizeof(pd),false);
^
/in/Main.java:161: error: class, interface, or enum expected
for i:=1 to x1 do
^
/in/Main.java:167: error: class, interface, or enum expected
time:=0;
^
/in/Main.java:169: error: class, interface, or enum expected
if start=0
^
/in/Main.java:177: error: class, interface, or enum expected
y:=i mod y2;
^
/in/Main.java:179: error: class, interface, or enum expected
if y=0
^
/in/Main.java:185: error: class, interface, or enum expected
y:=y2;
^
/in/Main.java:187: error: class, interface, or enum expected
end;
^
/in/Main.java:189: error: class, interface, or enum expected
inc(time,cla[x,y]);
^
/in/Main.java:191: error: class, interface, or enum expected
end
^
/in/Main.java:199: error: class, interface, or enum expected
y:=i mod y2;
^
/in/Main.java:201: error: class, interface, or enum expected
if y=0
^
/in/Main.java:207: error: class, interface, or enum expected
y:=y2;
^
/in/Main.java:209: error: class, interface, or enum expected
end;
^
/in/Main.java:211: error: class, interface, or enum expected
inc(time,cla[x,y2-y+1]);
^
/in/Main.java:213: error: class, interface, or enum expected
end;
^
/in/Main.java:215: error: class, interface, or enum expected
pd[sx,sy]:=false;
^
/in/Main.java:217: error: class, interface, or enum expected
dfs(sx,sy,1);
^
/in/Main.java:219: error: class, interface, or enum expected
end;
^
/in/Main.java:221: error: class, interface, or enum expected
begin
^
/in/Main.java:225: error: class, interface, or enum expected
main;
^
/in/Main.java:227: error: class, interface, or enum expected
end.
^
76 errors

信息

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