Problem | fibo |
---|---|
User | blob |
Submission Time | 2023-12-20 14:08:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fibo.cpp: In function ‘int fibo(int, int*)’:
fibo.cpp:7:25: error: too few arguments to function ‘int fibo(int, int*)’
7 | return dp[N] = fibo(N-1) + fibo(N-2);
| ^
fibo.cpp:3:5: note: declared here
3 | int fibo (int N, int dp[]){
| ^~~~
fibo.cpp:7:37: error: too few arguments to function ‘int fibo(int, int*)’
7 | return dp[N] = fibo(N-1) + fibo(N-2);
| ^
fibo.cpp:3:5: note: declared here
3 | int fibo (int N, int dp[]){
| ^~~~
fibo.cpp: In function ‘int main()’:
fibo.cpp:12:15: error: ‘Fibonacci’ was not declared in this scope
12 | int result = Fibonacci(N);
| ^~~~~~~~~