Problem fibo
User xyz
Submission Time 2023-11-09 14:13:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fibo.cpp: In function ‘std::vector<int> fib()’:
fibo.cpp:9:8: error: ‘long long’ specified with ‘double’
9 | long long double root5 = sqrt(5)
| ^~~~
fibo.cpp:10:3: error: expected ‘,’ or ‘;’ before ‘for’
10 | for(int iter = 0; iter<num+1; iter++){
| ^~~
fibo.cpp:10:21: error: ‘iter’ was not declared in this scope
10 | for(int iter = 0; iter<num+1; iter++){
| ^~~~