/ Vijos /

记录详情

Compile Error

./Main.java:1: error: class, interface, or enum expected
BEGIN
^
./Main.java:3: error: class, interface, or enum expected
k := transfer[i][j].x; t := transfer[i][j].y;
                       ^
./Main.java:5: error: class, interface, or enum expected
if turn[k][t] = nowturn then break;
^
./Main.java:7: error: class, interface, or enum expected
turn[k][t] := nowturn;
^
./Main.java:9: error: class, interface, or enum expected
depth[k][t] := depth[i][j] + 1;
^
./Main.java:11: error: class, interface, or enum expected
nowtime := nowtime - 1;
^
./Main.java:13: error: class, interface, or enum expected
a[k][t] := (a[k][t] + addto) mod moder;
^
./Main.java:15: error: class, interface, or enum expected
i := k; j := t;
^
./Main.java:15: error: class, interface, or enum expected
i := k; j := t;
        ^
./Main.java:17: error: class, interface, or enum expected
END;
^
./Main.java:19: error: class, interface, or enum expected
if nowtime = 0 then exit;
^
./Main.java:21: error: class, interface, or enum expected
csx := k; csy := t;
^
./Main.java:21: error: class, interface, or enum expected
csx := k; csy := t;
          ^
./Main.java:23: error: class, interface, or enum expected
sum := depth[i][j] - depth[k][t] + 1;
^
./Main.java:25: error: class, interface, or enum expected
tt := nowtime div sum;
^
./Main.java:27: error: class, interface, or enum expected
ttt := nowtime mod sum;
^
./Main.java:29: error: class, interface, or enum expected
ttaddto := tt;
^
./Main.java:31: error: class, interface, or enum expected
ttaddto := ttaddto * addto;
^
./Main.java:33: error: class, interface, or enum expected
i := csx;
^
./Main.java:35: error: class, interface, or enum expected
j := csy;
^
./Main.java:37: error: class, interface, or enum expected
repeat
^
./Main.java:41: error: class, interface, or enum expected
if ttt > 0 then
^
./Main.java:47: error: class, interface, or enum expected
ttt := ttt - 1;
^
./Main.java:49: error: class, interface, or enum expected
END
^
./Main.java:53: error: class, interface, or enum expected
k := transfer[i][j].x; t := transfer[i][j].y;
^
./Main.java:53: error: class, interface, or enum expected
k := transfer[i][j].x; t := transfer[i][j].y;
                       ^
./Main.java:55: error: class, interface, or enum expected
i := k; j := t;
^
./Main.java:55: error: class, interface, or enum expected
i := k; j := t;
        ^
./Main.java:57: error: class, interface, or enum expected
until (i = csx) and (j = csy);
^
./Main.java:59: error: class, interface, or enum expected
END;
^
./Main.java:61: error: class, interface, or enum expected
procedure print_exit;
^
./Main.java:63: error: class, interface, or enum expected
var
^
./Main.java:67: error: class, interface, or enum expected
t : int64;
^
./Main.java:69: error: class, interface, or enum expected
BEGIN
^
./Main.java:81: error: class, interface, or enum expected
t := t * points mod moder;
^
./Main.java:83: error: class, interface, or enum expected
a[i][j] := t;
^
./Main.java:85: error: class, interface, or enum expected
END;
^
./Main.java:87: error: class, interface, or enum expected
for i := 1 to n do
^
./Main.java:93: error: class, interface, or enum expected
while j 0 then
^
./Main.java:99: error: class, interface, or enum expected
doit(i, j);
^
./Main.java:101: error: class, interface, or enum expected
END;
^
./Main.java:103: error: class, interface, or enum expected
act(left);
^
./Main.java:105: error: class, interface, or enum expected
print_exit;
^
./Main.java:107: error: class, interface, or enum expected
END.
^
44 errors
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1477 跳动的水珠(csapc)
语言
Java
递交时间
2021-10-12 20:14:35
评测时间
2021-10-12 20:14:35
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes