Problem beareatrabbit
User PerihelionfromAphelion
Submission Time 2026-09-04 20:54:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

beareatrabbit.cpp: In function ‘int32_t main()’:
beareatrabbit.cpp:22:43: error: expected ‘;’ before ‘}’ token
22 | dp[i] = max(dp[i - 1], dp[i - 2] + a[i])
| ^
| ;
23 | }
| ~