Problem fibo
User YH
Submission Time 2024-02-03 19:43:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fibo.cpp: In function ‘int main()’:
fibo.cpp:17:27: error: invalid operands of types ‘long long unsigned int’ and ‘<unresolved overloaded function type>’ to binary ‘operator<<’
17 | cout << f1 << endl < f2 << endl;
| ~~~^~~~~~~
fibo.cpp:17:17: error: parse error in template argument list
17 | cout << f1 << endl < f2 << endl;
| ^~~~~~~~~~~~~~~~~
fibo.cpp:17:14: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>::__ostream_type’ {aka ‘std::basic_ostream<char>’} and ‘<unresolved overloaded function type>’)
17 | cout << f1 << endl < f2 << endl;
| ~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~
| | |
| | <unresolved overloaded function type>
| std::basic_ostream<char>::__ostream_type {aka std::basic_ostream<