记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:18: error: 's' undeclared (first use in this function)
    5 |     scanf("%d", &s);
      |                  ^
/in/foo.c:5:18: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:23:33: error: expected ';' before '}' token
   23 |                         return 0
      |                                 ^
      |                                 ;
   24 |     }
      |     ~                            
/in/foo.c:24:5: error: expected declaration or statement at end of input
   24 |     }
      |     ^
/in/foo.c:4:9: warning: unused variable 'score' [-Wunused-variable]
    4 |     int score;
      |         ^~~~~

信息

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