记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:7:2: error: variable-sized object may not be initialized
  int a[n][m]={{0000000000000000000}
  ^~~
/in/foo.c:7:16: warning: excess elements in array initializer
  int a[n][m]={{0000000000000000000}
                ^~~~~~~~~~~~~~~~~~~
/in/foo.c:7:16: note: (near initialization for 'a[0]')
/in/foo.c:7:15: warning: excess elements in array initializer
  int a[n][m]={{0000000000000000000}
               ^
/in/foo.c:7:15: note: (near initialization for 'a')
/in/foo.c:8:2: error: expected '}' before '{' token
  {0###00##00000000000};
  ^
/in/foo.c:8:4: error: stray '##' in program
  {0###00##00000000000};
    ^~
/in/foo.c:8:6: error: stray '#' in program
  {0###00##00000000000};
      ^
/in/foo.c:8:9: error: stray '##' in program
  {0###00##00000000000};
         ^~
/in/foo.c:9:4: error: stray '#' in program
  {0#0##0#000#######00};
    ^
/in/foo.c:9:6: error: stray '##' in program
  {0#0##0#000#######00};
      ^~
/in/foo.c:9:9: error: stray '#' in program
  {0#0##0#000#######00};
         ^
/in/foo.c:9:13: error: stray '##' in program
  {0#0##0#000#######00};
             ^~
/in/foo.c:9:15: error: stray '##' in program
  {0#0##0#000#######00};
               ^~
/in/foo.c:9:17: error: stray '##' in program
  {0#0##0#000#######00};
                 ^~
/in/foo.c:9:19: error: stray '#' in program
  {0#0##0#000#######00};
                   ^
/in/foo.c:10:4: error: stray '#' in program
  {0#00###000##0000##0};
    ^
/in/foo.c:10:7: error: stray '##' in program
  {0#00###000##0000##0};
       ^~
/in/foo.c:10:9: error: stray '#' in program
  {0#00###000##0000##0};
         ^
/in/foo.c:10:13: error: stray '##' in program
  {0#00###000##0000##0};
             ^~
/in/foo.c:10:19: error: stray '##' in program
  {0#00###000##0000##0};
                   ^~
/in/foo.c:11:4: error: stray '#' in program
  {0#000##00#########0};
    ^
/in/foo.c:11:8: error: stray '##' in program
  {0#000##00#########0};
        ^~
/in/foo.c:11:12: error: stray '##' in program
  {0#000##00#########0};
            ^~
/in/foo.c:11:14: error: stray '##' in program
  {0#000##00#########0};
              ^~
/in/foo.c:11:16: error: stray '##' in program
  {0#000##00#########0};
                ^~
/in/foo.c:11:18: error: stray '##' in program
  {0#000##00#########0};
                  ^~
/in/foo.c:11:20: error: stray '#' in program
  {0#000##00#########0};
                    ^
/in/foo.c:12:12: error: stray '##' in program
  {000000000###000##00};
            ^~
/in/foo.c:12:14: error: stray '#' in program
  {000000000###000##00};
              ^
/in/foo.c:12:18: error: stray '##' in program
  {000000000###000##00};
                  ^~
/in/foo.c:13:13: error: stray '##' in program
  {0000000000##0000##0};
             ^~
/in/foo.c:13:19: error: stray '##' in program
  {0000000000##0000##0};
                   ^~
/in/foo.c:14:13: error: stray '##' in program
  {0000000000#######00}};
             ^~
/in/foo.c:14:15: error: stray '##' in program
  {0000000000#######00}};
               ^~
/in/foo.c:14:17: error: stray '##' in program
  {0000000000#######00}};
                 ^~
/in/foo.c:14:19: error: stray '#' in program
  {0000000000#######00}};
                   ^
/in/foo.c:19:15: error: stray '#' in program
    if(a[i][j]=#)
               ^
/in/foo.c:19:16: error: expected expression before ')' token
    if(a[i][j]=#)
                ^
/in/foo.c:7:6: warning: variable 'a' set but not used [-Wunused-but-set-variable]
  int a[n][m]={{0000000000000000000}
      ^

信息

递交者
类型
递交
题目
偷拍硕哥3
比赛
小兰赛 2018/12/9
语言
C
递交时间
2018-12-09 10:18:34
评测时间
2018-12-09 10:18:46
评测机
分数
0
总耗时
20ms
峰值内存
8.285 MiB