Problem candymountain_ex
User joshuabonang
Submission Time 2026-02-14 21:10:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

candymountain_ex.cpp: In function ‘int main()’:
candymountain_ex.cpp:16:46: error: expected ‘)’ before ‘;’ token
16 | dp[i] = min(dp[i], max(dp[i-j], A[i]); //is the previous worse or is the current worse?
| ~ ^
| )