运行 ID | 作者 | 题号 | 测评结果 | 分数 | 时间 | 内存 | 语言 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
531550 | jiangyangno886 | 1065 - 得分 | 编译错误 | 0 | 0 MS | 0 KB | C++ | 406 | 1年前 |
Main.cc: In function 'int main()':
Main.cc:10:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'char*' [-Wformat=]
10 | scanf("%d",a);
| ~^ ~
| | |
| | char*
| int*
| %hhd
Main.cc:19:5: error: 'print' was not declared in this scope; did you mean 'rint'?
19 | print("%d",score);
| ^~~~~
| rint