运行 ID 作者 题号 测评结果 分数 时间 内存 语言 代码长度 提交时间
227828 21软工2班李龙乾 1113 - 盒子 编译错误 0 0 MS 0 KB C 1578 3年前
暂时无法获取本题测试点详情。

Main.c:7:14: error: expected ‘;’, ‘,’ or ‘)’ before ‘&’ token
7 | void swap(int& i, int& j) {
| ^
Main.c: In function ‘sort’:
Main.c:16:31: warning: implicit declaration of function ‘swap’ [-Wimplicit-function-declaration]
16 | if(a[i] < a[j]) { swap(a[i], a[j]); swap(b[i], b[j]); }
| ^~~~
Main.c: At top level:
Main.c:20:1: error: unknown type name ‘bool’
20 | bool check_2() { //两个两个的比对
| ^~~~
Main.c: In function ‘main’:
Main.c:51:13: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
51 | scanf("%d%d", &a[i], &b[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~