Problem learning
User Pan
Submission Time 2024-01-23 11:33:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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