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

Main.c: In function ‘main’:
Main.c:6:13: warning: format ‘%f’ expects argument of type ‘float *’, but argument 2 has type ‘double *’ [-Wformat=]
6 | scanf("%f",&a);
| ~^ ~~
| | |
| | double *
| float *
| %lf
Main.c:10:12: error: expected ‘;’ before ‘}’ token
10 | year+=1
| ^
| ;
11 | }
| ~
Main.c:13:5: error: expected declaration or statement at end of input
13 | return 0;
| ^~~~~~