Problem | fibo |
---|---|
User | CX |
Submission Time | 2024-07-25 15:10:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fibo.cpp: In function ‘int main()’:
fibo.cpp:6:7: error: ‘n’ was not declared in this scope
6 | cin<<n;
| ^
fibo.cpp:7:6: error: ‘r’ was not declared in this scope
7 | for(r=0,r<N,r+n);
| ^
fibo.cpp:8:15: error: expected ‘;’ before ‘}’ token
8 | cout<<r<<"\n"
| ^
| ;
9 | }
| ~
fibo.cpp:9:2: error: expected primary-expression before ‘}’ token
9 | }
| ^
fibo.cpp:8:15: error: expected ‘)’ before ‘}’ token
8 | cout<<r<<"\n"
| ^
| )
9 | }
| ~
fibo.cpp:7:5: note: to match this ‘(’
7 | for(r=0,r<N,r+n);
| ^
fibo.cpp:9:2: error: expected primary-expression before ‘}’ token
9 | }
| ^