记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:11:9: error: expected expression before 'int'
   11 |         int j=1;
      |         ^~~
/in/foo.c:12:17: error: 'j' undeclared (first use in this function)
   12 |         switch (j)
      |                 ^
/in/foo.c:12:17: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:19:9: error: case label not within a switch statement
   19 |         case 2:
      |         ^~~~
/in/foo.c: At top level:
/in/foo.c:23:20: error: expected identifier or '(' before 'return'
   23 |                    return 0;}
      |                    ^~~~~~
/in/foo.c:23:29: error: expected identifier or '(' before '}' token
   23 |                    return 0;}
      |                             ^

信息

递交者
类型
自测
语言
C
递交时间
2025-11-14 19:19:59
评测时间
2025-11-14 19:19:59
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes