Problem fibo
User claireau
Submission Time 2023-11-09 14:28:06
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:3: error: ‘get’ was not declared in this scope; did you mean ‘getw’?
10 | (get line; return "fi";)
| ^~~
| getw
fibo.cpp:10:6: error: expected ‘)’ before ‘line’
10 | (get line; return "fi";)
| ~ ^~~~~
| )
fibo.cpp:10:20: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
10 | (get line; return "fi";)
| ^~~~
| |
| const char*
fibo.cpp:10:25: error: expected primary-expression before ‘)’ token
10 | (get line; return "fi";)
| ^