Problem moneychanger
User PerihelionfromAphelion
Submission Time 2026-09-19 23:32:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

moneychanger.cpp: In function ‘int32_t main()’:
moneychanger.cpp:17:24: error: ‘INF’ was not declared in this scope
17 | if (dp[x - a[i]] != INF && x >= a[i]) {
| ^~~