Problem | moneychanger |
---|---|
User | DoubleShaurya |
Submission Time | 2024-03-01 16:00:19 |
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: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 |