Problem fibo
User JK13
Submission Time 2023-11-15 14:59:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fibo.cpp: In function ‘int main()’:
fibo.cpp:13:29: error: ‘fibo’ cannot be used as a function
13 | return dp[n] = fibo(n-1)+fibo(n-2);
| ^
fibo.cpp:13:39: error: ‘fibo’ cannot be used as a function
13 | return dp[n] = fibo(n-1)+fibo(n-2);
| ^
fibo.cpp:16:16: error: ‘fibo’ cannot be used as a function
16 | cout << fibo(3);
| ^