Compile Error
/in/foo.c: In function 'main':
/in/foo.c:5:25: error: expected ';' before '\U0000ff1b'
5 | scanf("%d\n",&n);
| ^~
| ;
/in/foo.c:14:25: error: 'student' undeclared (first use in this function)
14 | scanf("%s %f\n",student[i].name,student[i].score[j])
| ^~~~~~~
/in/foo.c:14:25: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:14:61: error: expected ';' before '}' token
14 | scanf("%s %f\n",student[i].name,student[i].score[j])
| ^
| ;
15 | }
| ~
信息
- 递交者
- 类型
- 自测
- 语言
- C
- 递交时间
- 2025-12-24 11:25:30
- 评测时间
- 2025-12-24 11:25:30
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes