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)进行评测。