QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#597370 | #9351. Game Store | ZhangYiDe | Compile Error | / | / | C++20 | 1.2kb | 2024-09-28 17:41:01 | 2024-09-28 17:41:03 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int main()’: answer.code:66:16: error: ‘cout’ was not declared in this scope 66 | cout<<(last=sum)<<'\n'; | ^~~~ answer.code:7:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’? 6 | #include <algorithm> +++ |+#include <iostream> 7 |