Problem | moneychanger |
---|---|
User | boaznumberd5555 |
Submission Time | 2023-07-28 15:34:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
moneychanger.cpp: In function ‘void dp(int)’:
moneychanger.cpp:10:25: error: ‘n’ was not declared in this scope
10 | for(int j = 0; j<n; j++){
| ^
moneychanger.cpp:11:29: error: ‘coins’ was not declared in this scope; did you mean ‘cos’?
11 | a = min(a,dp(j - coins[i]));
| ^~~~~
| cos