Problem | breakfast |
---|---|
User | PrunJuice |
Submission Time | 2024-01-09 13:32:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
breakfast.cpp:2:7: error: expected nested-name-specifier before ‘namespac’
2 | using namespac std;
| ^~~~~~~~
breakfast.cpp: In function ‘int main()’:
breakfast.cpp:4:2: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
4 | cout << "PARAMECIUM" << endl;
| ^~~~
| std::cout
In file included from breakfast.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
breakfast.cpp:4:26: error: ‘endl’ was not declared in this scope; did you mean ‘std::endl’?
4 | cout << "PARAMECIUM" << endl;
| ^~~~
| std::endl
In file included from /usr/include/c++/9/iostream:39,
from breakfast.cpp:1:
/usr/include/c++/9/ostream:599:5: note: ‘std::endl’ declared here
599 | endl(bas