Problem typo
User ToiletBrIcker
Submission Time 2024-06-19 09:51:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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