Problem | fibo |
---|---|
User | briyanii |
Submission Time | 2024-01-22 10:33:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fibo.cpp: In function ‘int main()’:
fibo.cpp:7:2: error: expected ‘,’ or ‘;’ before ‘long’
7 | long long yes = 0;
| ^~~~
fibo.cpp:8:8: error: ‘yes’ was not declared in this scope
8 | cin < yes;
| ^~~
fibo.cpp:11:15: error: ‘no’ was not declared in this scope
11 | if (i == 0) no[i] = 0;
| ^~
fibo.cpp:12:15: error: ‘no’ was not declared in this scope
12 | if (i == 1) no[i] = 1;
| ^~
fibo.cpp:13:8: error: ‘no’ was not declared in this scope
13 | else no[i] = no[i-1] + no[i-2]
| ^~