./Main.java:2: error: class, interface, enum, or record expected
var n,s,min,a,b,x,y,i,j:longint;
^
./Main.java:3: error: class, interface, enum, or record expected
begin
^
./Main.java:5: error: class, interface, enum, or record expected
min:=n div ab;
^
./Main.java:6: error: class, interface, enum, or record expected
if n mod a<>0 then inc(min,b);
^
./Main.java:7: error: class, interface, enum, or record expected
s:=n div xy;
^
./Main.java:8: error: class, interface, enum, or record expected
if n mod x<>0 then inc(s,y);
^
./Main.java:9: error: class, interface, enum, or record expected
if s<min then min:=s;
^
./Main.java:10: error: class, interface, enum, or record expected
s:=n div ij;
^
./Main.java:11: error: class, interface, enum, or record expected
if n mod i<>0 then inc(s,j);
^
./Main.java:12: error: class, interface, enum, or record expected
if s<min then min:=s;
^
./Main.java:13: error: class, interface, enum, or record expected
write(min);
^
./Main.java:14: error: class, interface, enum, or record expected
end.
^
12 errors
[Hydro](https://hydro.ac)提供评测服务