Problem fibo
User estkn
Submission Time 2025-03-14 13:46:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fibo.cpp:1:1: error: ‘vector’ does not name a type
1 | vector<uint64_t> generate_fibonaccis(int n) {
| ^~~~~~
fibo.cpp: In function ‘int main()’:
fibo.cpp:13:5: error: ‘vector’ was not declared in this scope
13 | vector<uint64_t> fib = generate_fibonaccis(n);
| ^~~~~~
fibo.cpp:13:12: error: ‘uint64_t’ was not declared in this scope
13 | vector<uint64_t> fib = generate_fibonaccis(n);
| ^~~~~~~~
fibo.cpp:13:22: error: ‘fib’ was not declared in this scope
13 | vector<uint64_t> fib = generate_fibonaccis(n);
| ^~~
fibo.cpp:13:28: error: ‘generate_fibonaccis’ was not declared in this scope
13 | vector<uint64_t> fib = generate_fibonaccis(n);
| ^~~~~~~~~~~~~~~~~~~
fibo.cpp:15:14: error: ‘cout’ is not a member of ‘std’
15 | std::cout << fib[i] << " ";
|