Problem generosity
User Pranav
Submission Time 2024-03-04 17:28:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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