运行 ID | 作者 | 题号 | 测评结果 | 分数 | 时间 | 内存 | 语言 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
578670 | fortunatehanhan | 1072 - 排名 | 编译错误 | 0 | 0 MS | 0 KB | C | 1154 | 5个月前 |
Main.c: In function 'compare':
Main.c:20:21: error: 'm' undeclared (first use in this function)
20 | for (i = 0; i < m; i++) {
| ^
Main.c:20:21: note: each undeclared identifier is reported only once for each function it appears in
Main.c: In function 'main':
Main.c:45:5: warning: implicit declaration of function 'qsort' [-Wimplicit-function-declaration]
45 | qsort(students, n, sizeof(Student), compare);
| ^~~~~