记录详情

Compile Error

/in/Main.java:1: error: class, interface, or enum expected
var  
^
/in/Main.java:3: error: class, interface, or enum expected
n,i:longint;  
^
/in/Main.java:4: error: class, interface, or enum expected
ans,fenz:int64;  
^
/in/Main.java:5: error: class, interface, or enum expected
x1,y1,x2,y2:int64;  
^
/in/Main.java:6: error: class, interface, or enum expected
begin  
^
/in/Main.java:8: error: class, interface, or enum expected
  while not eof do  
  ^
/in/Main.java:11: error: class, interface, or enum expected
    sum:=sum+sqrt(sqr(x1-x2)+sqr(y1-y2));  
    ^
/in/Main.java:12: error: class, interface, or enum expected
  end;  
  ^
/in/Main.java:13: error: class, interface, or enum expected
  sum:=sum*2/1000;  
  ^
/in/Main.java:14: error: class, interface, or enum expected
  sum:=sum/20;  
  ^
/in/Main.java:15: error: class, interface, or enum expected
  fenz:=round((sum-trunc(sum))*60);  
  ^
/in/Main.java:16: error: class, interface, or enum expected
  ans:=trunc(sum);  
  ^
/in/Main.java:17: error: class, interface, or enum expected
  write(ans,':');  
  ^
/in/Main.java:18: error: class, interface, or enum expected
  if fenz<10 then write(0);  
  ^
/in/Main.java:19: error: class, interface, or enum expected
  writeln(fenz);  
  ^
/in/Main.java:20: error: class, interface, or enum expected
end. 
^
16 errors

信息

递交者
类型
自测
题目
铲雪车
语言
Java
递交时间
2019-03-12 17:27:11
评测时间
2019-03-12 17:27:15
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes