/ Vijos /

记录详情

Compile Error

/in/foo.cc:5:9: error: too many decimal points in number
 a:array[0..61,0..31] of integer;
         ^~~~~
/in/foo.cc:5:15: error: too many decimal points in number
 a:array[0..61,0..31] of integer;
               ^~~~~
/in/foo.cc:7:9: error: too many decimal points in number
 f:array[0..1,0..31,-3000..3000] of boolean;
         ^~~~
/in/foo.cc:7:14: error: too many decimal points in number
 f:array[0..1,0..31,-3000..3000] of boolean;
              ^~~~~
/in/foo.cc:7:21: error: too many decimal points in number
 f:array[0..1,0..31,-3000..3000] of boolean;
                     ^~~~~~~~~~
/in/foo.cc:1:1: error: 'program' does not name a type
 program p1280;
 ^~~~~~~
/in/foo.cc:3:1: error: 'var' does not name a type
 var n,now:longint;
 ^~~
/in/foo.cc:5:2: error: found ':' in nested-name-specifier, expected '::'
 a:array[0..61,0..31] of integer;
  ^
/in/foo.cc:5:1: error: 'a' does not name a type
 a:array[0..61,0..31] of integer;
 ^
/in/foo.cc:7:2: error: found ':' in nested-name-specifier, expected '::'
 f:array[0..1,0..31,-3000..3000] of boolean;
  ^
/in/foo.cc:7:1: error: 'f' does not name a type
 f:array[0..1,0..31,-3000..3000] of boolean;
 ^
/in/foo.cc:9:1: error: 'procedure' does not name a type
 procedure init;
 ^~~~~~~~~
/in/foo.cc:11:1: error: 'var' does not name a type
 var i,j:longint;
 ^~~
/in/foo.cc:13:1: error: 'begin' does not name a type
 begin
 ^~~~~
/in/foo.cc:17:1: error: expected unqualified-id before 'for'
 for i:=1 to n do
 ^~~
/in/foo.cc:23:1: error: 'readln' does not name a type
 readln;
 ^~~~~~
/in/foo.cc:25:1: error: 'end' does not name a type
 end;
 ^~~
/in/foo.cc:27:1: error: expected unqualified-id before 'for'
 for i:=n+1 to 2*n-1 do
 ^~~
/in/foo.cc:33:1: error: 'readln' does not name a type
 readln;
 ^~~~~~
/in/foo.cc:35:1: error: 'end' does not name a type
 end;
 ^~~
/in/foo.cc:37:1: error: 'end' does not name a type
 end;
 ^~~
/in/foo.cc:39:1: error: 'procedure' does not name a type
 procedure dp;
 ^~~~~~~~~
/in/foo.cc:41:1: error: 'var' does not name a type
 var i,j,k:longint;
 ^~~
/in/foo.cc:43:1: error: 'begin' does not name a type
 begin
 ^~~~~
/in/foo.cc:47:1: error: 'f' does not name a type
 f[0,1,a[1,1]]:=true;
 ^
/in/foo.cc:49:1: error: 'now' does not name a type
 now:=0;
 ^~~
/in/foo.cc:51:1: error: expected unqualified-id before 'for'
 for i:=2 to n do
 ^~~
/in/foo.cc:57:1: error: expected unqualified-id before 'for'
 for j:=1 to i do
 ^~~
/in/foo.cc:63:1: error: 'end' does not name a type
 end;
 ^~~
/in/foo.cc:65:1: error: expected unqualified-id before 'for'
 for i:=n+1 to 2*n-1 do
 ^~~
/in/foo.cc:71:1: error: expected unqualified-id before 'for'
 for j:=1 to 2*n-i do
 ^~~
/in/foo.cc:77:1: error: 'end' does not name a type
 end;
 ^~~
/in/foo.cc:79:1: error: 'end' does not name a type
 end;
 ^~~
/in/foo.cc:81:1: error: 'procedure' does not name a type
 procedure outit;
 ^~~~~~~~~
/in/foo.cc:83:1: error: 'var' does not name a type
 var i:longint;
 ^~~
/in/foo.cc:85:1: error: 'begin' does not name a type
 begin
 ^~~~~
/in/foo.cc:91:13: error: 'exit' does not name a type
 writeln(i); exit;
             ^~~~
/in/foo.cc:93:1: error: 'end' does not name a type
 end;
 ^~~
/in/foo.cc:95:1: error: 'end' does not name a type
 end;
 ^~~
/in/foo.cc:97:1: error: 'begin' does not name a type
 begin
 ^~~~~
/in/foo.cc:101:1: error: 'dp' does not name a type
 dp;
 ^~
/in/foo.cc:103:1: error: 'outit' does not name a type
 outit;
 ^~~~~
/in/foo.cc:105:1: error: 'end' does not name a type
 end.
 ^~~

信息

递交者
类型
递交
题目
P1280 The Moment-遇见
语言
C++
递交时间
2021-12-14 20:43:17
评测时间
2021-12-14 20:43:17
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes