记录详情

Compile Error

/in/foo.c:1:8: error: expected declaration specifiers or '...' before string constant
 printf("A\n");
        ^~~~~
/in/foo.c:2:13: error: expected identifier or '(' before 'break'
             break;
             ^~~~~
/in/foo.c:3:9: error: expected identifier or '(' before 'case'
         case 7:
         ^~~~
/in/foo.c:5:13: error: expected identifier or '(' before 'break'
             break;
             ^~~~~
/in/foo.c:6:9: error: expected identifier or '(' before 'case'
         case 6:
         ^~~~
/in/foo.c:8:13: error: expected identifier or '(' before 'break'
             break;
             ^~~~~
/in/foo.c:9:9: error: expected identifier or '(' before 'default'
         default:
         ^~~~~~~
/in/foo.c:11:5: error: expected identifier or '(' before '}' token
     }
     ^
/in/foo.c:13:5: error: expected identifier or '(' before 'return'
     return 0;
     ^~~~~~
/in/foo.c:14:1: error: expected identifier or '(' before '}' token
 }
 ^

信息

递交者
类型
递交
比赛
2024级14点半
语言
C
递交时间
2024-12-24 14:46:13
评测时间
2024-12-24 14:46:13
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes