运行 ID 作者 题号 测评结果 分数 时间 内存 语言 代码长度 提交时间
463732 lulintao 1011 - 计算翻一番的年份 编译错误 0 0 MS 0 KB C 124 1年前
暂时无法获取本题测试点详情。

Main.c:3:7: error: expected declaration specifiers or ‘...’ before string constant
3 | scanf("%lf", &a);
| ^~~~~
Main.c:3:14: error: expected declaration specifiers or ‘...’ before ‘&’ token
3 | scanf("%lf", &a);
| ^
Main.c:4:1: error: expected identifier or ‘(’ before ‘for’
4 | for (; b - 100 < 100;i++ )
| ^~~
Main.c:4:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token
4 | for (; b - 100 < 100;i++ )
| ^
Main.c:4:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘++’ token
4 | for (; b - 100 < 100;i++ )
| ^~
Main.c:6:8: error: expected declaration specifiers or ‘...’ before string constant
6 | printf("%d", i);
| ^~~~
Main.c:6:14: error: expected declaration specifiers or ‘...’ before ‘i’
6 | printf("%d", i);
| ^
Main.c:7:1: error: expected identifier or ‘(’ before ‘return’
7 | return 0;
| ^~~~~~