Problem fibo
User claireau
Submission Time 2023-11-09 14:23:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fibo.cpp: In function ‘int main()’:
fibo.cpp:9:16: error: expected primary-expression before ‘)’ token
9 | for (N != 0,1;)
| ^
fibo.cpp:9:16: error: expected ‘;’ before ‘)’ token
9 | for (N != 0,1;)
| ^
| ;
fibo.cpp:10:9: error: statement cannot resolve address of overloaded function
10 | getline; return "fi";
| ^
fibo.cpp:10:18: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
10 | getline; return "fi";
| ^~~~
| |
| const char*