Problem | moneychanger |
---|---|
User | hwy |
Submission Time | 2023-06-08 01:32:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
moneychanger.cpp: In function ‘int main()’:
moneychanger.cpp:27:24: error: ‘i’ was not declared in this scope
27 | dp[i + c*coins[b]] = min(dp[i+c*coins[b]], dp[a]+c);
| ^