运行 ID | 作者 | 题号 | 测评结果 | 分数 | 时间 | 内存 | 语言 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
596675 | hchengf | 1008 - 平方与立方 | 编译错误 | 0 | 0 MS | 0 KB | C++ | 267 | 5个月前 |
Main.cc:1:1: error: 'include' does not name a type
1 | include "pch.h"
| ^~~~~~~
Main.cc: In function 'int main()':
Main.cc:10:1: error: 'cin' was not declared in this scope
10 | cin >> n;
| ^~~
Main.cc:20:9: error: 'printf' was not declared in this scope
20 | printf("%d %d
",pingfa,sancifang);
| ^~~~~~
Main.cc:1:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 | include "pch.h"