Problem psle
User meow5707
Submission Time 2023-02-08 17:39:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

psle.cpp: In function ‘int main()’:
psle.cpp:8:5: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
8 | cout << "A*" << endl;
| ^~~~
| std::cout
In file included from psle.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
psle.cpp:8:21: error: ‘endl’ was not declared in this scope; did you mean ‘std::endl’?
8 | cout << "A*" << endl;
| ^~~~
| std::endl
In file included from /usr/include/c++/9/iostream:39,
from psle.cpp:1:
/usr/include/c++/9/ostream:599:5: note: ‘std::endl’ declared here
599 | endl(basic_ostream<_CharT, _Traits>& __os)
| ^~~~
psle.cpp:12:5: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
12 | cout <