Problem integer
User shenshiqi
Submission Time 2026-04-04 12:34:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

integer.cpp: In function ‘void printInteger()’:
integer.cpp:4:3: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
4 | cout << "0";
| ^~~~
| std::cout
In file included from integer.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~