Problem treecutting
User JAYLIU
Submission Time 2024-02-17 16:24:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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