Problem veryeasyproblem
User Catornado
Submission Time 2023-03-10 14:45:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

veryeasyproblem.cpp:2:17: error: ‘as’ is not a namespace-name
2 | using namespace as std;
| ^~
veryeasyproblem.cpp:2:19: error: expected ‘;’ before ‘std’
2 | using namespace as std;
| ^~~~
| ;
veryeasyproblem.cpp:2:20: error: ‘std’ does not name a type
2 | using namespace as std;
| ^~~
veryeasyproblem.cpp: In function ‘int main()’:
veryeasyproblem.cpp:6:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
6 | cin>>n;
| ^~~
| std::cin
In file included from veryeasyproblem.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
veryeasyproblem.cpp:7:2: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
7 | cout<<n;
| ^~~~
|