Problem fibo
User noob41
Submission Time 2023-11-09 16:23:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fibo.cpp: In function ‘int32_t main()’:
fibo.cpp:22:12: error: invalid conversion from ‘long long int (*)(std::vector<long long int>&, long long int)’ to ‘long long int’ [-fpermissive]
22 | int fibo=fibonacci;
| ^~~~~~~~~
| |
| long long int (*)(std::vector<long long int>&, long long int)
fibo.cpp:23:19: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
23 | vector <int> dp(n, 0);
| ^
| yn
fibo.cpp: At global scope:
fibo.cpp:27:1: error: expected declaration before ‘}’ token
27 | }
| ^