Problem bestplace
User James7986
Submission Time 2024-01-10 20:52:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bestplace.cpp: In function ‘int main()’:
bestplace.cpp:39:33: error: ‘endl’ was not declared in this scope; did you mean ‘std::endl’?
39 | std::cout <<ans <<" "<< 0<< endl;
| ^~~~
| std::endl
In file included from /usr/include/c++/9/iostream:39,
from bestplace.cpp:2:
/usr/include/c++/9/ostream:599:5: note: ‘std::endl’ declared here
599 | endl(basic_ostream<_CharT, _Traits>& __os)
| ^~~~