Problem | fibo |
---|---|
User | howdoicode |
Submission Time | 2025-01-27 15:30:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fibo.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
fibo.cpp: In function ‘int main()’:
fibo.cpp:8:5: error: ‘cin’ was not declared in this scope
8 | cin >> N;
| ^~~
fibo.cpp:10:5: error: ‘vector’ was not declared in this scope
10 | vector<int> fib(N + 1);
| ^~~~~~
fibo.cpp:10:12: error: expected primary-expression before ‘int’
10 | vector<int> fib(N + 1);
| ^~~
fibo.cpp:12:5: error: ‘fib’ was not declared in this scope
12 | fib[0] = 0;
| ^~~
fibo.cpp:20:9: error: ‘cout’ was not declared in this scope
20 | cout << fib[i] << endl;
| ^~~~
fibo.cpp:20:27: error: ‘endl’ was not declared in this scope
20 | cout << fib[i] << endl;
| ^~~~