Problem moneychanger
User mathemactics
Submission Time 2023-11-10 11:17:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

moneychanger.cpp: In function ‘int main()’:
moneychanger.cpp:9:15: error: expected ‘]’ before ‘,’ token
9 | int dp[v+1, INT_MAX];
| ^
| ]
moneychanger.cpp:9:17: error: expected unqualified-id before numeric constant
9 | int dp[v+1, INT_MAX];
| ^~~~~~~
moneychanger.cpp:15:5: error: ‘dp’ was not declared in this scope
15 | dp[0] = 0;
| ^~