Problem | beareatrabbit |
---|---|
User | penguinzzz |
Submission Time | 2024-03-22 22:06:28 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
beareatrabbit.cpp: In function ‘int main()’:
beareatrabbit.cpp:19:89: error: expected ‘)’ before ‘;’ token
19 | dp[i] = max(max(dp[i-2] + rabbit[i], dp[i-1]), (rabbit[i] <= 0 ? 0LL : rabbit[i]);
| ~ ^
| )