Problem | fibo |
---|---|
User | YH |
Submission Time | 2024-02-03 19:43:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fibo.cpp: In function ‘int main()’:
fibo.cpp:17:25: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator<<’
17 | cout << 0 << endl < 1 << endl;
| ~~^~~~~~~
fibo.cpp:17:16: error: parse error in template argument list
17 | cout << 0 << endl < 1 << endl;
| ^~~~~~~~~~~~~~~~
fibo.cpp:17:13: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘<unresolved overloaded function type>’)
17 | cout << 0 << endl < 1 << endl;
| ~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~
| | |
| | <unresolved overloaded function type>
| std::basic_ostream<char>
In file included from /usr/include/c++/9/iostream:39,
from fibo.cpp:1:
/usr/include/c++/9/ostream:108:7: