运行 ID | 作者 | 题号 | 测评结果 | 分数 | 时间 | 内存 | 语言 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
463698 | lulintao | 1011 - 计算翻一番的年份 | 编译错误 | 0 | 0 MS | 0 KB | C | 190 | 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:13:5: error: expected declaration or statement at end of input
13 | return 0;
| ^~~~~~