/ Vijos /

记录详情

Compile Error

/in/foo.cc:2:14: error: too many decimal points in number
     c: array[0..2000, 0..2000] of longint;
              ^~~~~~~
/in/foo.cc:2:23: error: too many decimal points in number
     c: array[0..2000, 0..2000] of longint;
                       ^~~~~~~
/in/foo.cc:3:14: error: too many decimal points in number
     a: array[0..2000, 0..2000] of longint;
              ^~~~~~~
/in/foo.cc:3:23: error: too many decimal points in number
     a: array[0..2000, 0..2000] of longint;
                       ^~~~~~~
/in/foo.cc:1:1: error: 'Var' does not name a type
 Var
 ^~~
/in/foo.cc:3:6: error: found ':' in nested-name-specifier, expected '::'
     a: array[0..2000, 0..2000] of longint;
      ^
/in/foo.cc:3:5: error: 'a' does not name a type
     a: array[0..2000, 0..2000] of longint;
     ^
/in/foo.cc:4:5: error: 't' does not name a type
     t, k, m, n, i, j: integer;
     ^
/in/foo.cc:6:1: error: 'Begin' does not name a type
 Begin
 ^~~~~
/in/foo.cc:9:5: error: expected unqualified-id before 'for'
     for i:= 0 to 2000 do
     ^~~
/in/foo.cc:13:5: error: expected unqualified-id before 'for'
     for i:= 0 to 2000 do
     ^~~
/in/foo.cc:16:9: error: 'c' does not name a type
         c[i, i]:= 1;
         ^
/in/foo.cc:17:5: error: 'end' does not name a type
     end;
     ^~~
/in/foo.cc:18:5: error: expected unqualified-id before 'for'
     for i:= 1 to 2000 do
     ^~~
/in/foo.cc:22:5: error: expected unqualified-id before 'for'
     for i:= 0 to 2000 do
     ^~~
/in/foo.cc:29:5: error: expected unqualified-id before 'for'
     for j:= 0 to 2000 do
     ^~~
/in/foo.cc:31:5: error: expected unqualified-id before 'for'
     for i:= 1 to 2000 do
     ^~~
/in/foo.cc:34:5: error: expected unqualified-id before 'for'
     for j:= 1 to 2000 do
     ^~~
/in/foo.cc:38:5: error: expected unqualified-id before 'for'
     for i:= 1 to t do
     ^~~
/in/foo.cc:41:16: error: expected constructor, destructor, or type conversion before '(' token
         writeln(a[n, m]);
                ^
/in/foo.cc:42:5: error: 'end' does not name a type
     end;
     ^~~
/in/foo.cc:43:1: error: 'End' does not name a type
 End.
 ^~~

信息

递交者
类型
递交
题目
P2006 组合数问题
语言
C++
递交时间
2021-05-04 11:31:06
评测时间
2021-05-04 11:31:06
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes