Problem | moneychanger |
---|---|
User | Duk168 |
Submission Time | 2024-03-25 20:32:43 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
moneychanger.cpp: In function ‘int minCoins(std::vector<int>&, int)’:
moneychanger.cpp:7:27: error: ‘INT_MAX’ was not declared in this scope
7 | vector<int> dp(v + 1, INT_MAX);
| ^~~~~~~
moneychanger.cpp:3:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include <vector>
+++ |+#include <climits>
3 |