Problem orz
User Jude
Submission Time 2024-08-13 13:14:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

orz.cpp:3:7: error: expected nested-name-specifier before ‘namesapce’
3 | using namesapce std;
| ^~~~~~~~~
orz.cpp: In function ‘int main()’:
orz.cpp:6:15: error: expected initializer before ‘>>’ token
6 | int num, cin >> num;
| ^~
orz.cpp:8:3: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
8 | cout << "TheRaptor orz";
| ^~~~
| std::cout
In file included from orz.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
orz.cpp:10:3: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
10 | cout << "penguin133 orz";
| ^~~~
| std::cout
In file included from orz.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; ///