| Problem | moneychanger |
|---|---|
| User | peepeepoop |
| Submission Time | 2026-02-17 18:51:13 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
moneychanger.cpp: In function ‘int solve(int, std::vector<int>&)’:
moneychanger.cpp:5:14: error: ‘INF’ was not declared in this scope
5 | int best = INF;
| ^~~
moneychanger.cpp:7:30: error: too few arguments to function ‘int solve(int, std::vector<int>&)’
7 | best = min(best, solve(x-c)+1);
| ^
moneychanger.cpp:4:5: note: declared here
4 | int solve(int x, vector<int>& coins){
| ^~~~~
moneychanger.cpp: At global scope:
moneychanger.cpp:11:1: error: expected declaration before ‘}’ token
11 | }
| ^