/ Vijos /

记录详情

Compile Error

/in/Main.java:1: error: class, interface, or enum expected
program energy(input,output);
^
/in/Main.java:3: error: class, interface, or enum expected
var
^
/in/Main.java:7: error: class, interface, or enum expected
b,c:array[1..300,1..300]of longint;
^
/in/Main.java:9: error: class, interface, or enum expected
max,i,j,n,k,u,mls:longint;
^
/in/Main.java:11: error: class, interface, or enum expected
begin
^
/in/Main.java:15: error: class, interface, or enum expected
for i:=1 to n do
^
/in/Main.java:19: error: class, interface, or enum expected
for i:=1 to n do
^
/in/Main.java:25: error: class, interface, or enum expected
fillchar(b,sizeof(b),0);
^
/in/Main.java:27: error: class, interface, or enum expected
for j:=n+1 to i+n-1 do
^
/in/Main.java:31: error: class, interface, or enum expected
a:=a[i];
^
/in/Main.java:33: error: class, interface, or enum expected
for j:=i to i+n-2 do
^
/in/Main.java:37: error: class, interface, or enum expected
b:=a*a[i]*a;
^
/in/Main.java:39: error: class, interface, or enum expected
for k:=i+2 to i+n-1 do
^
/in/Main.java:45: error: class, interface, or enum expected
for u:=i+1 to k do
^
/in/Main.java:51: error: class, interface, or enum expected
if mls>max
^
/in/Main.java:55: error: class, interface, or enum expected
end;
^
/in/Main.java:57: error: class, interface, or enum expected
b:=max;
^
/in/Main.java:59: error: class, interface, or enum expected
end;
^
/in/Main.java:61: error: class, interface, or enum expected
c:=b;
^
/in/Main.java:63: error: class, interface, or enum expected
a:=d;
^
/in/Main.java:65: error: class, interface, or enum expected
end;
^
/in/Main.java:67: error: class, interface, or enum expected
max:=0;
^
/in/Main.java:69: error: class, interface, or enum expected
for i:=1 to n do
^
/in/Main.java:75: error: class, interface, or enum expected
writeln(max);
^
/in/Main.java:77: error: class, interface, or enum expected
end.
^
25 errors

信息

递交者
类型
递交
题目
P1312 能量项链
语言
Java
递交时间
2018-05-27 14:32:55
评测时间
2018-05-27 14:32:55
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes