QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#765259 | #9628. 骰子 | ZhaoZiLong | Compile Error | / | / | C++23 | 115b | 2024-11-20 13:26:57 | 2024-11-20 13:26:57 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:6:1: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’? 6 | cin >> n >> m; | ^~~ | std::cin In file included from answer.code:2: /usr/include/c++/13/iostream:62:18: note: ‘std::cin’ declared here 62 | extern istream cin; ///< Linked to standard input | ^~~ answer.code:7:1: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’? 7 | cout << 6LL * n * m; | ^~~~ | std::cout /usr/include/c++/13/iostream:63:18: note: ‘std::cout’ declared here 63 | extern ostream cout; ///< Linked to standard output | ^~~~