Problem 1503
User limmingyao21
Submission Time 2024-02-23 20:38:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

1503.cpp:2:17: error: ‘stdl’ is not a namespace-name
2 | using namespace stdl
| ^~~~
1503.cpp:2:21: error: expected ‘;’ before ‘int’
2 | using namespace stdl
| ^
| ;
3 | int main()
| ~~~
1503.cpp: In function ‘int main()’:
1503.cpp:5:5: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
5 | cout<<"hmm... just try :)";
| ^~~~
| std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from 1503.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~