Problem fibo
User monke
Submission Time 2025-10-08 16:07:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fibo.cpp: In function ‘int main()’:
fibo.cpp:9:7: error: ‘i’ was not declared in this scope
9 | for (i, i<=N+1, i++){
| ^
fibo.cpp:15:1: error: expected primary-expression at end of input
15 | }
| ^
fibo.cpp:15:2: error: expected ‘;’ at end of input
15 | }
| ~^
| ;
fibo.cpp:15:1: error: expected primary-expression at end of input
15 | }
| ^
fibo.cpp:15:2: error: expected ‘)’ at end of input
15 | }
| ~^
| )
fibo.cpp:9:6: note: to match this ‘(’
9 | for (i, i<=N+1, i++){
| ^
fibo.cpp:15:1: error: expected statement at end of input
15 | }
| ^
fibo.cpp:15:1: error: expected ‘}’ at end of input
fibo.cpp:3:12: note: to match this ‘{’
3 | int main() {
| ^