Problem | rabbiteatrabbit |
---|---|
User | Reverberate |
Submission Time | 2023-05-24 14:19:58 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
rabbiteatrabbit.cpp: In function ‘long long int recur1(long long int, long long int)’:
rabbiteatrabbit.cpp:20:35: error: ‘recur’ was not declared in this scope; did you mean ‘recur1’?
20 | return memo[idx][taken] = max(recur(idx+1,taken),recur(idx+2,taken+1)+arr[idx]);
| ^~~~~
| recur1
rabbiteatrabbit.cpp: In function ‘long long int recur2(long long int, long long int)’:
rabbiteatrabbit.cpp:33:35: error: ‘recur’ was not declared in this scope; did you mean ‘recur2’?
33 | return memo[idx][taken] = max(recur(idx+1,taken),recur(idx+2,taken+1)+arr[idx]);
| ^~~~~
| recur2