Problem oddoneout
User Elliott2011
Submission Time 2024-11-15 10:23:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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