Problem | moneychanger |
---|---|
User | shawn |
Submission Time | 2024-05-10 21:48:28 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
moneychanger.cpp: In function ‘int minCoins(int, int, std::vector<int>&)’:
moneychanger.cpp:8:25: error: ‘INT_MAX’ was not declared in this scope
8 | 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 |