Problem fibo
User claireau
Submission Time 2023-11-09 14:27:19
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:13: error: expected primary-expression before ‘return’
10 | (get line; return "fi";)
| ^~~~~~
fibo.cpp:10:12: error: expected ‘;’ before ‘return’
10 | (get line; return "fi";)
| ^~~~~~~
| ;
fibo.cpp:10:13: error: expected primary-expression before ‘return’
10 | (get line; return "fi";)
| ^~~~~~
fibo.cpp:10:12: error: expected ‘)’ before ‘return’
10 | (get line; return "fi";)
| ^~~~~~~
| )
fibo.cpp:9:6: note: to match this ‘(’
9 | for (N != 0,1)
| ^
fibo.cpp:10:20: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
10 | (get line; return "fi";)
| ^~~~
|