Problem fibo
User mingging1748
Submission Time 2024-11-18 09:38:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fibo.cpp: In function ‘int main()’:
fibo.cpp:10:35: error: ‘x’ was not declared in this scope
10 | for (int i = 0; i < n + 1; i++) {x
| ^
fibo.cpp:15:5: error: ‘else’ without a previous ‘if’
15 | } else if (i == 1) {
| ^~~~