运行 ID 作者 题号 测评结果 分数 时间 内存 语言 代码长度 提交时间
568638 Guanjiajun0603 1004 - 反转三位数整数 编译错误 0 0 MS 0 KB C 206 5个月前
暂时无法获取本题测试点详情。

Main.c: In function 'main':
Main.c:4:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
4 | scanf("%d" , &m)
| ^~~~~
Main.c:6:11: error: invalid suffix ")" on integer constant
6 | b=(m%100) /10
| ^~~~~
Main.c:7:11: error: invalid suffix ")" on integer constant
7 | c=(m%100) %10
| ^~~~~
Main.c:11:1: error: expected declaration or statement at end of input
11 | }
| ^
Main.c:3:18: warning: unused variable 'b' [-Wunused-variable]
3 | int m, n, a, b, c
| ^
Main.c:3:15: warning: unused variable 'a' [-Wunused-variable]
3 | int m, n, a, b, c
| ^
Main.c:3:12: warning: unused variable 'n' [-Wunused-variable]
3 | int m, n, a, b, c
| ^
Main.c:3:9: warning: unused variable 'm' [-Wunused-variable]
3 | int m, n, a, b, c
| ^