Problem | nicenumber |
---|---|
User | OSoverspike |
Submission Time | 2023-04-16 19:49:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
nicenumber.cpp: In function ‘int main()’:
nicenumber.cpp:14:23: error: no matching function for call to ‘endl()’
14 | cout << 69 << endl();
| ^
In file included from /usr/include/c++/9/istream:39,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from nicenumber.cpp:1:
/usr/include/c++/9/ostream:599:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::endl(std::basic_ostream<_CharT, _Traits>&)’
599 | endl(basic_ostream<_CharT, _Traits>& __os)
| ^~~~
/usr/include/c++/9/ostream:599:5: note: template argument deduction/substitution failed:
nicenumber.cpp:14:23: note: candidate expects 1 argument, 0 provided