| Problem | feedtheduck |
|---|---|
| User | My12thCodebreakerAccount |
| Submission Time | 2026-07-14 18:30:36 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
feedtheduck.cpp: In function ‘int main()’:
feedtheduck.cpp:73:13: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>::__ostream_type’ {aka ‘std::basic_ostream<char>’} and ‘<unresolved overloaded function type>’)
73 | cout <<sum << end;
| ~~~~~~~~~~~^~~~~~
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 feedtheduck.cpp:4:
/usr/include/c++/9/ostream:108:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>