Problem change
User Henries
Submission Time 2024-10-18 22:30:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

change.cpp: In function ‘void solve(std::map<long long int, long long int>, long long int, std::vector<long long int>)’:
change.cpp:11:11: error: ‘track’ was not declared in this scope
11 | pay -= track;
| ^~~~~
change.cpp: In function ‘int main()’:
change.cpp:40:15: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
40 | if (current <num){
| ^~~
| enum