./Main.java:1: error: class, interface, enum, or record expected
Const
^
./Main.java:5: error: class, interface, enum, or record expected
Var
^
./Main.java:9: error: class, interface, enum, or record expected
leap:boolean;
^
./Main.java:11: error: class, interface, enum, or record expected
a,w,t,b:array[1..100] of real;
^
./Main.java:13: error: class, interface, enum, or record expected
p:array[1..100] of integer;
^
./Main.java:15: error: class, interface, enum, or record expected
Function getD(x:integer):integer;
^
./Main.java:17: error: class, interface, enum, or record expected
var i:integer;
^
./Main.java:19: error: class, interface, enum, or record expected
begin
^
./Main.java:23: error: class, interface, enum, or record expected
for i:=1 to x-1 do inc(getD,dpm[i]);
^
./Main.java:25: error: class, interface, enum, or record expected
if getD>2 then
^
./Main.java:29: error: class, interface, enum, or record expected
end;
^
./Main.java:31: error: class, interface, enum, or record expected
Function getW(x:integer):string;
^
./Main.java:33: error: class, interface, enum, or record expected
var i:integer; t1,t2:string;
^
./Main.java:33: error: class, interface, enum, or record expected
var i:integer; t1,t2:string;
^
./Main.java:35: error: class, interface, enum, or record expected
begin
^
./Main.java:41: error: class, interface, enum, or record expected
str(i,t1); str(x-getd(i),t2);
^
./Main.java:41: error: class, interface, enum, or record expected
str(i,t1); str(x-getd(i),t2);
^
./Main.java:43: error: class, interface, enum, or record expected
if ir;
^
./Main.java:45: error: class, interface, enum, or record expected
if a0 then exit;
^
./Main.java:47: error: class, interface, enum, or record expected
end;
^
./Main.java:49: error: class, interface, enum, or record expected
if lp=0 then write(getw(day),' ');
^
./Main.java:51: error: class, interface, enum, or record expected
end;
^
./Main.java:53: error: class, interface, enum, or record expected
Begin
^
./Main.java:57: error: class, interface, enum, or record expected
doit;
^
./Main.java:59: error: class, interface, enum, or record expected
End.
^
25 errors
[Hydro](https://hydro.ac)提供评测服务