/in/Main.java:3: error: class, interface, or enum expected
BEGIN
^
/in/Main.java:5: error: class, interface, or enum expected
k := transfer[i][j].x; t := transfer[i][j].y;
^
/in/Main.java:7: error: class, interface, or enum expected
if turn[k][t] = nowturn then break;
^
/in/Main.java:9: error: class, interface, or enum expected
turn[k][t] := nowturn;
^
/in/Main.java:11: error: class, interface, or enum expected
depth[k][t] := depth[i][j] + 1;
^
/in/Main.java:13: error: class, interface, or enum expected
nowtime := nowtime - 1;
^
/in/Main.java:15: error: class, interface, or enum expected
a[k][t] := (a[k][t] + addto) mod moder;
^
/in/Main.java:17: error: class, interface, or enum expected
i := k; j := t;
^
/in/Main.java:17: error: class, interface, or enum expected
i := k; j := t;
^
/in/Main.java:19: error: class, interface, or enum expected
END;
^
/in/Main.java:21: error: class, interface, or enum expected
if nowtime = 0 then exit;
^
/in/Main.java:23: error: class, interface, or enum expected
csx := k; csy := t;
^
/in/Main.java:23: error: class, interface, or enum expected
csx := k; csy := t;
^
/in/Main.java:25: error: class, interface, or enum expected
sum := depth[i][j] - depth[k][t] + 1;
^
/in/Main.java:27: error: class, interface, or enum expected
tt := nowtime div sum;
^
/in/Main.java:29: error: class, interface, or enum expected
ttt := nowtime mod sum;
^
/in/Main.java:31: error: class, interface, or enum expected
ttaddto := tt;
^
/in/Main.java:33: error: class, interface, or enum expected
ttaddto := ttaddto * addto;
^
/in/Main.java:35: error: class, interface, or enum expected
i := csx;
^
/in/Main.java:37: error: class, interface, or enum expected
j := csy;
^
/in/Main.java:39: error: class, interface, or enum expected
repeat
^
/in/Main.java:43: error: class, interface, or enum expected
if ttt > 0 then
^
/in/Main.java:49: error: class, interface, or enum expected
ttt := ttt - 1;
^
/in/Main.java:51: error: class, interface, or enum expected
END
^
/in/Main.java:55: error: class, interface, or enum expected
k := transfer[i][j].x; t := transfer[i][j].y;
^
/in/Main.java:55: error: class, interface, or enum expected
k := transfer[i][j].x; t := transfer[i][j].y;
^
/in/Main.java:57: error: class, interface, or enum expected
i := k; j := t;
^
/in/Main.java:57: error: class, interface, or enum expected
i := k; j := t;
^
/in/Main.java:59: error: class, interface, or enum expected
until (i = csx) and (j = csy);
^
/in/Main.java:61: error: class, interface, or enum expected
END;
^
/in/Main.java:63: error: class, interface, or enum expected
procedure print_exit;
^
/in/Main.java:65: error: class, interface, or enum expected
var
^
/in/Main.java:69: error: class, interface, or enum expected
t : int64;
^
/in/Main.java:71: error: class, interface, or enum expected
BEGIN
^
/in/Main.java:83: error: class, interface, or enum expected
t := t * points mod moder;
^
/in/Main.java:85: error: class, interface, or enum expected
a[i][j] := t;
^
/in/Main.java:87: error: class, interface, or enum expected
END;
^
/in/Main.java:89: error: class, interface, or enum expected
for i := 1 to n do
^
/in/Main.java:95: error: class, interface, or enum expected
while j 0 then
^
/in/Main.java:101: error: class, interface, or enum expected
doit(i, j);
^
/in/Main.java:103: error: class, interface, or enum expected
END;
^
/in/Main.java:105: error: class, interface, or enum expected
act(left);
^
/in/Main.java:107: error: class, interface, or enum expected
print_exit;
^
/in/Main.java:109: error: class, interface, or enum expected
END.
^
44 errors