Problem moneychanger
User pinglynn
Submission Time 2023-11-10 15:28:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

moneychanger.cpp: In function ‘int32_t main()’:
moneychanger.cpp:21:65: error: expected ‘)’ before ‘;’ token
21 | dp[i] = min(dp[i] = min(dp[i], dp[i-coins[p]]+1);
| ~ ^
| )