运行 ID | 作者 | 题号 | 测评结果 | 分数 | 时间 | 内存 | 语言 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
632087 | haoziccc | 1027 - 阶乘不等式 | 编译错误 | 0 | 0 MS | 0 KB | C++ | 264 | 1个月前 |
Main.cc: In function 'int main()':
Main.cc:7:5: error: 'scanf' was not declared in this scope
7 | scanf("%d",&n);
| ^~~~~
Main.cc:10:5: error: 'printf' was not declared in this scope
10 | printf("%d",m-1);
| ^~~~~~
Main.cc:2:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
1 | #include <stdlib.h>
+++ |+#include <cstdio>
2 |