/ Vijos /

记录详情

Compile Error

foo.cc:3:9: error: too many decimal points in number
 g:array[0..1000] of longint;
         ^~~~~~~
foo.cc:1:1: error: 'var' does not name a type; did you mean 'char'?
 var
 ^~~
 char
foo.cc:5:1: error: 'n' does not name a type
 n,m,t,i:longint;
 ^
foo.cc:7:1: error: 'begin' does not name a type
 begin
 ^~~~~
foo.cc:11:1: error: expected unqualified-id before 'for'
 for i:=1 to n do read(g[(m-i+1+2*n) mod n+1]);
 ^~~
foo.cc:13:1: error: expected unqualified-id before 'for'
 for i:=1 to n do write(g[(i-t+1+2*n) mod n+1],' ');
 ^~~
foo.cc:15:1: error: 'end' does not name a type; did you mean 'enum'?
 end.
 ^~~
 enum
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。

信息

递交者
类型
递交
题目
P1338 比赛
语言
C++
递交时间
2021-03-26 22:37:28
评测时间
2021-03-26 22:37:28
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes