/ Vijos /

记录详情

Compile Error

/in/Main.java:1: error: class, interface, or enum expected
type
^
/in/Main.java:5: error: class, interface, or enum expected
const
^
/in/Main.java:9: error: class, interface, or enum expected
a3:array[0..3]of longint=(1,3,9,7);
^
/in/Main.java:11: error: class, interface, or enum expected
a7:array[0..3]of longint=(1,7,9,3);
^
/in/Main.java:13: error: class, interface, or enum expected
a8:array[0..3]of longint=(6,8,4,2);
^
/in/Main.java:15: error: class, interface, or enum expected
a4:array[0..1]of longint=(6,4);
^
/in/Main.java:17: error: class, interface, or enum expected
a9:array[0..1]of longint=(1,9);
^
/in/Main.java:19: error: class, interface, or enum expected
var
^
/in/Main.java:23: error: class, interface, or enum expected
l,i,j,k,len,x,ans:longint;
^
/in/Main.java:25: error: class, interface, or enum expected
f:boolean;
^
/in/Main.java:27: error: class, interface, or enum expected
a,y,bb:numtype;
^
/in/Main.java:29: error: class, interface, or enum expected
b1:array[2..9]of longint;
^
/in/Main.java:31: error: class, interface, or enum expected
b:array[2..9]of numtype;
^
/in/Main.java:33: error: class, interface, or enum expected
function max(x,y:longint):longint;
^
/in/Main.java:35: error: class, interface, or enum expected
begin if x>y then exit(x);exit(y);end;
^
/in/Main.java:35: error: class, interface, or enum expected
begin if x>y then exit(x);exit(y);end;
                          ^
/in/Main.java:35: error: class, interface, or enum expected
begin if x>y then exit(x);exit(y);end;
                                  ^
/in/Main.java:37: error: class, interface, or enum expected
procedure make(y:numtype;d:longint);
^
/in/Main.java:37: error: class, interface, or enum expected
procedure make(y:numtype;d:longint);
                         ^
/in/Main.java:39: error: class, interface, or enum expected
var i,e,k,x,xx:longint;yy,c:numtype;
^
/in/Main.java:39: error: class, interface, or enum expected
var i,e,k,x,xx:longint;yy,c:numtype;
                       ^
/in/Main.java:41: error: class, interface, or enum expected
begin
^
/in/Main.java:45: error: class, interface, or enum expected
if y[1]>=5then yy[1]:=1;
^
/in/Main.java:47: error: class, interface, or enum expected
for i:=2 to y[0] do
^
/in/Main.java:53: error: class, interface, or enum expected
yy[i]:=yydiv 10;
^
/in/Main.java:55: error: class, interface, or enum expected
yy:=yymod 10;
^
/in/Main.java:57: error: class, interface, or enum expected
end;
^
/in/Main.java:59: error: class, interface, or enum expected
yy[0]:=y[0]+2;
^
/in/Main.java:61: error: class, interface, or enum expected
while (yy[yy[0]]=0)and(yy[0]>1) do dec(yy[0]);
^
/in/Main.java:63: error: class, interface, or enum expected
y:=yy;
^
/in/Main.java:71: error: class, interface, or enum expected
e:=y[1];//e:=y mod 10;
^
/in/Main.java:73: error: class, interface, or enum expected
if (y[0]>1)or((y[0]=1)and(y[1]>1)) then make(y,d+1);
^
/in/Main.java:75: error: class, interface, or enum expected
fillchar(yy,sizeof(yy),0);
^
/in/Main.java:77: error: class, interface, or enum expected
for i:=2 to y[0] do
^
/in/Main.java:83: error: class, interface, or enum expected
yy[i]:=yydiv 10;
^
/in/Main.java:85: error: class, interface, or enum expected
yy:=yymod 10;
^
/in/Main.java:87: error: class, interface, or enum expected
end;
^
/in/Main.java:89: error: class, interface, or enum expected
yy[0]:=y[0]+2;
^
/in/Main.java:91: error: class, interface, or enum expected
while yy[yy[0]]=0 do dec(yy[0]);
^
/in/Main.java:93: error: class, interface, or enum expected
for i:=1 to 199 do begin bb[i]:=bb[i]+yy[i];bb:=bb+bb[i]div 10;bb[i]:=bb[i]mod 10;end;
^
/in/Main.java:93: error: class, interface, or enum expected
for i:=1 to 199 do begin bb[i]:=bb[i]+yy[i];bb:=bb+bb[i]div 10;bb[i]:=bb[i]mod 10;end;
                                            ^
/in/Main.java:93: error: class, interface, or enum expected
for i:=1 to 199 do begin bb[i]:=bb[i]+yy[i];bb:=bb+bb[i]div 10;bb[i]:=bb[i]mod 10;end;
                                                               ^
/in/Main.java:93: error: class, interface, or enum expected
for i:=1 to 199 do begin bb[i]:=bb[i]+yy[i];bb:=bb+bb[i]div 10;bb[i]:=bb[i]mod 10;end;
                                                                                  ^
/in/Main.java:97: error: class, interface, or enum expected
k:=a8[d mod 4];
^
/in/Main.java:99: error: class, interface, or enum expected
for i:=1 to e do
^
/in/Main.java:105: error: class, interface, or enum expected
inc(b[x,1]); xx:=1;
^
/in/Main.java:105: error: class, interface, or enum expected
inc(b[x,1]); xx:=1;
             ^
/in/Main.java:107: error: class, interface, or enum expected
while b[x,xx]>=10do
^
/in/Main.java:113: error: class, interface, or enum expected
b[x,xx]:=b[x,xx]mod 10;
^
/in/Main.java:115: error: class, interface, or enum expected
inc(xx);
^
/in/Main.java:117: error: class, interface, or enum expected
end;
^
/in/Main.java:119: error: class, interface, or enum expected
if xx>b[x,0]then b[x,0]:=xx;
^
/in/Main.java:123: error: class, interface, or enum expected
end;
^
/in/Main.java:125: error: class, interface, or enum expected
end;
^
54 errors

信息

递交者
类型
递交
题目
P1505 信息学老师的失误
语言
Java
递交时间
2021-12-23 20:40:46
评测时间
2021-12-23 20:40:46
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes