/ Vijos /

记录详情

Compile Error

/in/Main.java:1: error: class, interface, or enum expected
var
^
/in/Main.java:3: error: class, interface, or enum expected
i,n,m:longint;
^
/in/Main.java:4: error: class, interface, or enum expected
x,y,d,z:extended;
^
/in/Main.java:5: error: class, interface, or enum expected
begin
^
/in/Main.java:7: error: class, interface, or enum expected
read(d,x,y);
^
/in/Main.java:8: error: class, interface, or enum expected
a[1,1]:=1; a[2,2]:=1;
^
/in/Main.java:8: error: class, interface, or enum expected
a[1,1]:=1; a[2,2]:=1;
           ^
/in/Main.java:9: error: class, interface, or enum expected
for i:=3 to n do
^
/in/Main.java:12: error: class, interface, or enum expected
a[i,2]:=-2*a[i-1,2]+a[i-2,2];
^
/in/Main.java:13: error: class, interface, or enum expected
a[i,3]:=-2*(a[i-1,3]-1)+a[i-2,3];
^
/in/Main.java:14: error: class, interface, or enum expected
end;
^
/in/Main.java:15: error: class, interface, or enum expected
z:=(y-a[n,1]*x-a[n,3]*d)/a[n,2];
^
/in/Main.java:16: error: class, interface, or enum expected
write((a[m,1]*x+a[m,2]*z+a[m,3]*d):0:3);
^
/in/Main.java:17: error: class, interface, or enum expected
end.
^
14 errors

信息

递交者
类型
递交
题目
P1151 失落的成绩单
语言
Java
递交时间
2021-07-18 10:29:33
评测时间
2021-07-18 10:29:33
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes