Problem snack
User ZRDI
Submission Time 2024-03-01 15:01:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snack.cpp: In function ‘int main()’:
snack.cpp:22:30: error: expected ‘;’ before ‘}’ token
22 | ans = max(dp[i], ans)
| ^
| ;
23 | }
| ~