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

Compile Error

fibo.cpp: In function ‘int main()’:
fibo.cpp:9:15: error: expected ‘;’ before ‘)’ token
9 | for (N != 0,1)
| ^
| ;
fibo.cpp:10:11: error: expected primary-expression before ‘return’
10 | getline; return "fi";
| ^~~~~~
fibo.cpp:10:10: error: expected ‘;’ before ‘return’
10 | getline; return "fi";
| ^~~~~~~
| ;
fibo.cpp:10:11: error: expected primary-expression before ‘return’
10 | getline; return "fi";
| ^~~~~~
fibo.cpp:10:10: error: expected ‘)’ before ‘return’
10 | getline; return "fi";
| ^~~~~~~
| )
fibo.cpp:9:6: note: to match this ‘(’
9 | for (N != 0,1)
| ^
fibo.cpp:10:18: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
10 | getline; return "fi";
| ^~~~
| |
|