Problem | fibo |
---|---|
User | Teeskit |
Submission Time | 2025-06-29 13:45:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fibo.cpp: In function ‘int main()’:
fibo.cpp:9:5: error: ‘i’ was not declared in this scope
9 | i int prev = 0, curr = 1;
| ^
fibo.cpp:10:25: error: ‘a’ was not declared in this scope
10 | for (int i = 0; i < a; i++) {
| ^
fibo.cpp:16:31: error: ‘curr’ was not declared in this scope
16 | int next = prev + curr;
| ^~~~
fibo.cpp:22:1: error: expected ‘}’ at end of input
22 | }
| ^
fibo.cpp:10:33: note: to match this ‘{’
10 | for (int i = 0; i < a; i++) {
| ^
fibo.cpp:22:1: error: expected ‘}’ at end of input
22 | }
| ^
fibo.cpp:5:15: note: to match this ‘{’
5 | signed main() {
| ^