/ Vijos /

记录详情

Compile Error

/in/foo.cc:9:14: error: too many decimal points in number
 cinc : array[1..4, 1..2] of longint =
              ^~~~
/in/foo.cc:9:20: error: too many decimal points in number
 cinc : array[1..4, 1..2] of longint =
                    ^~~~
/in/foo.cc:29:25: error: too many decimal points in number
 a, _a, standard : array[0..maxn, 0..maxn] of longint;
                         ^~~~~~~
/in/foo.cc:29:34: error: too many decimal points in number
 a, _a, standard : array[0..maxn, 0..maxn] of longint;
                                  ^~~~~~~
/in/foo.cc:31:15: error: too many decimal points in number
 order : array[0..maxn, 0..maxn] of _string;
               ^~~~~~~
/in/foo.cc:31:24: error: too many decimal points in number
 order : array[0..maxn, 0..maxn] of _string;
                        ^~~~~~~
/in/foo.cc:33:24: error: too many decimal points in number
 transfer, last : array[0..maxn, 0..maxn] of coortype;
                        ^~~~~~~
/in/foo.cc:33:33: error: too many decimal points in number
 transfer, last : array[0..maxn, 0..maxn] of coortype;
                                 ^~~~~~~
/in/foo.cc:35:15: error: too many decimal points in number
 depth : array[0..maxn, 0..maxn] of longint;
               ^~~~~~~
/in/foo.cc:35:24: error: too many decimal points in number
 depth : array[0..maxn, 0..maxn] of longint;
                        ^~~~~~~
/in/foo.cc:37:14: error: too many decimal points in number
 turn : array[0..maxn, 0..maxn] of longint;
              ^~~~~~~
/in/foo.cc:37:23: error: too many decimal points in number
 turn : array[0..maxn, 0..maxn] of longint;
                       ^~~~~~~
/in/foo.cc:1:1: error: 'program' does not name a type
 program jumping_sol1;
 ^~~~~~~
/in/foo.cc:5:1: error: 'maxn' does not name a type
 maxn = 102;
 ^~~~
/in/foo.cc:7:1: error: 'maxm' does not name a type
 maxm = 63;
 ^~~~
/in/foo.cc:9:6: error: found ':' in nested-name-specifier, expected '::'
 cinc : array[1..4, 1..2] of longint =
      ^
/in/foo.cc:9:1: error: 'cinc' does not name a type
 cinc : array[1..4, 1..2] of longint =
 ^~~~
/in/foo.cc:13:1: error: 'type' does not name a type
 type
 ^~~~
/in/foo.cc:17:1: error: 'coortype' does not name a type
 coortype = record
 ^~~~~~~~
/in/foo.cc:21:1: error: 'end' does not name a type
 end;
 ^~~
/in/foo.cc:23:1: error: 'var' does not name a type
 var
 ^~~
/in/foo.cc:27:1: error: 'period' does not name a type
 period, left : longint;
 ^~~~~~
/in/foo.cc:29:1: error: 'a' does not name a type
 a, _a, standard : array[0..maxn, 0..maxn] of longint;
 ^
/in/foo.cc:31:7: error: found ':' in nested-name-specifier, expected '::'
 order : array[0..maxn, 0..maxn] of _string;
       ^
/in/foo.cc:31:1: error: 'order' does not name a type
 order : array[0..maxn, 0..maxn] of _string;
 ^~~~~
/in/foo.cc:33:1: error: 'transfer' does not name a type
 transfer, last : array[0..maxn, 0..maxn] of coortype;
 ^~~~~~~~
/in/foo.cc:35:7: error: found ':' in nested-name-specifier, expected '::'
 depth : array[0..maxn, 0..maxn] of longint;
       ^
/in/foo.cc:35:1: error: 'depth' does not name a type
 depth : array[0..maxn, 0..maxn] of longint;
 ^~~~~
/in/foo.cc:37:6: error: found ':' in nested-name-specifier, expected '::'
 turn : array[0..maxn, 0..maxn] of longint;
      ^
/in/foo.cc:37:1: error: 'turn' does not name a type
 turn : array[0..maxn, 0..maxn] of longint;
 ^~~~
/in/foo.cc:39:9: error: found ':' in nested-name-specifier, expected '::'
 nowturn : longint;
         ^
/in/foo.cc:39:1: error: 'nowturn' does not name a type
 nowturn : longint;
 ^~~~~~~
/in/foo.cc:41:1: error: 'function' does not name a type
 function destination(stx, sty : longint) : coortype;
 ^~~~~~~~
/in/foo.cc:43:1: error: 'var' does not name a type
 var
 ^~~
/in/foo.cc:47:3: error: found ':' in nested-name-specifier, expected '::'
 i : longint;
   ^
/in/foo.cc:47:1: error: 'i' does not name a type
 i : longint;
 ^
/in/foo.cc:49:1: error: 'BEGIN' does not name a type
 BEGIN
 ^~~~~
/in/foo.cc:57:1: error: 'r' does not name a type
 r.y := sty;
 ^
/in/foo.cc:59:5: error: expected constructor, destructor, or type conversion before '(' token
 exit(r);
     ^
/in/foo.cc:61:1: error: 'END' does not name a type
 END;
 ^~~
/in/foo.cc:63:1: error: 'r' does not name a type
 r.x := stx;
 ^
/in/foo.cc:65:1: error: 'r' does not name a type
 r.y := sty;
 ^
/in/foo.cc:67:1: error: expected unqualified-id before 'for'
 for i := 1 to maxm do
 ^~~
/in/foo.cc:73:37: error: 'r' does not name a type
 'U': begin r.x := r.x + cinc[1][1]; r.y := r.y + cinc[1][2]; end;
                                     ^
/in/foo.cc:73:62: error: 'end' does not name a type
 'U': begin r.x := r.x + cinc[1][1]; r.y := r.y + cinc[1][2]; end;
                                                              ^~~
/in/foo.cc:75:1: error: expected unqualified-id before 'R'
 'R': begin r.x := r.x + cinc[2][1]; r.y := r.y + cinc[2][2]; end;
 ^~~
/in/foo.cc:75:37: error: 'r' does not name a type
 'R': begin r.x := r.x + cinc[2][1]; r.y := r.y + cinc[2][2]; end;
                                     ^
/in/foo.cc:75:62: error: 'end' does not name a type
 'R': begin r.x := r.x + cinc[2][1]; r.y := r.y + cinc[2][2]; end;
                                                              ^~~
/in/foo.cc:77:1: error: expected unqualified-id before 'D'
 'D': begin r.x := r.x + cinc[3][1]; r.y := r.y + cinc[3][2]; end;
 ^~~
/in/foo.cc:77:37: error: 'r' does not name a type
 'D': begin r.x := r.x + cinc[3][1]; r.y := r.y + cinc[3][2]; end;
                                     ^
/in/foo.cc:77:62: error: 'end' does not name a type
 'D': begin r.x := r.x + cinc[3][1]; r.y := r.y + cinc[3][2]; end;
                                                              ^~~
/in/foo.cc:79:1: error: expected unqualified-id before 'L'
 'L': begin r.x := r.x + cinc[4][1]; r.y := r.y + cinc[4][2]; end;
 ^~~
/in/foo.cc:79:37: error: 'r' does not name a type
 'L': begin r.x := r.x + cinc[4][1]; r.y := r.y + cinc[4][2]; end;
                                     ^
/in/foo.cc:79:62: error: 'end' does not name a type
 'L': begin r.x := r.x + cinc[4][1]; r.y := r.y + cinc[4][2]; end;
                                                              ^~~
/in/foo.cc:81:1: error: 'end' does not name a type
 end;
 ^~~
/in/foo.cc:83:1: error: 'END' does not name a type
 END;
 ^~~
/in/foo.cc:85:5: error: expected constructor, destructor, or type conversion before '(' token
 exit(r);
     ^
/in/foo.cc:87:1: error: 'END' does not name a type
 END;
 ^~~
/in/foo.cc:89:1: error: 'procedure' does not name a type
 procedure act(thistime : longint);
 ^~~~~~~~~
/in/foo.cc:91:1: error: 'var' does not name a type
 var
 ^~~
/in/foo.cc:95:1: error: 'BEGIN' does not name a type
 BEGIN
 ^~~~~
/in/foo.cc:109:1: error: 'a' does not name a type
 a[j][k] := 0;
 ^
/in/foo.cc:111:1: error: 'END' does not name a type
 END;
 ^~~
/in/foo.cc:113:1: error: expected unqualified-id before 'for'
 for j := 1 to n do
 ^~~
/in/foo.cc:123:1: error: expected unqualified-id before 'U'
 'U': a[j+cinc[1][1]][k+cinc[1][2]] := (a[j+cinc[1][1]][k+cinc[1][2]] + _a[j][k]) mod moder;
 ^~~
/in/foo.cc:125:1: error: expected unqualified-id before 'R'
 'R': a[j+cinc[2][1]][k+cinc[2][2]] := (a[j+cinc[2][1]][k+cinc[2][2]] + _a[j][k]) mod moder;
 ^~~
/in/foo.cc:127:1: error: expected unqualified-id before 'D'
 'D': a[j+cinc[3][1]][k+cinc[3][2]] := (a[j+cinc[3][1]][k+cinc[3][2]] + _a[j][k]) mod moder;
 ^~~
/in/foo.cc:129:1: error: expected unqualified-id before 'L'
 'L': a[j+cinc[4][1]][k+cinc[4][2]] := (a[j+cinc[4][1]][k+cinc[4][2]] + _a[j][k]) mod moder;
 ^~~
/in/foo.cc:131:1: error: 'end' does not name a type
 end;
 ^~~
/in/foo.cc:133:1: error: 'END' does not name a type
 END;
 ^~~
/in/foo.cc:135:1: error: 'END' does not name a type
 END;
 ^~~
/in/foo.cc:137:1: error: 'END' does not name a type
 END;
 ^~~
/in/foo.cc:139:1: error: 'procedure' does not name a type
 procedure doit(stx, sty : longint);
 ^~~~~~~~~
/in/foo.cc:141:1: error: 'var' does not name a type
 var
 ^~~
/in/foo.cc:145:1: error: 'tt' does not name a type
 tt, ttt, addto : longint;
 ^~
/in/foo.cc:147:9: error: found ':' in nested-name-specifier, expected '::'
 t

信息

递交者
类型
递交
题目
P1477 跳动的水珠(csapc)
语言
C++
递交时间
2021-05-06 13:25:55
评测时间
2021-05-06 13:25:55
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes