Problem | beareatrabbit |
---|---|
User | Schzeey2 |
Submission Time | 2024-01-21 11:35:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
beareatrabbit.cpp: In function ‘long long int ans(long long int)’:
beareatrabbit.cpp:8:66: error: expected ‘)’ before ‘;’ token
8 | return dp[i] = max(max(ans(i-2), ans(i-3)) + arr[i], ans(i-1);
| ~ ^
| )