foo.cc:3:9: error: too many decimal points in number
3 | g:array[0..1000] of longint;
| ^~~~~~~
foo.cc:1:1: error: 'var' does not name a type
1 | var
| ^~~
foo.cc:5:1: error: 'n' does not name a type
5 | n,m,t,i:longint;
| ^
foo.cc:7:1: error: 'begin' does not name a type
7 | begin
| ^~~~~
foo.cc:11:1: error: expected unqualified-id before 'for'
11 | 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'
13 | 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
15 | end.
| ^~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务