Problem deciphering_zane_ex
User AlphanumericUsername
Submission Time 2023-04-06 15:44:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

deciphering_zane_ex.cpp: In function ‘const char* jellybean(int)’:
deciphering_zane_ex.cpp:5:15: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
5 | if(tc==1) cout<<"u finished ur chem?\n";
| ^~~~
| std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from deciphering_zane_ex.cpp:2:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
deciphering_zane_ex.cpp:6:20: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
6 | else if(tc==6) cout<<"Y salty\n";
| ^~~~
| std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from deciphering_zane_ex.cpp:2:
/usr/include/c++/9/iostream:61:18