Problem beareatrabbit
User hwy
Submission Time 2023-06-27 16:33:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

beareatrabbit.cpp: In function ‘ll dp(ll)’:
beareatrabbit.cpp:14:51: error: ‘durr’ was not declared in this scope; did you mean ‘curr’?
14 | return memo[curr] = max(dp(curr+1), A[curr] + dp(durr+2));
| ^~~~
| curr