Problem | moneychanger |
---|---|
User | Jinxuan |
Submission Time | 2023-10-21 18:47:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
moneychanger.cpp: In function ‘int main()’:
moneychanger.cpp:20:8: error: ‘x’ was not declared in this scope
20 | solve[x] = 0;
| ^
moneychanger.cpp:27:53: error: expected ‘)’ before ‘;’ token
27 | solve[x] = min(solve[x], solve[x - coins[n]] + 1;
| ~ ^
| )