Problem | paint |
---|---|
User | Pushkaltoocool |
Submission Time | 2023-07-20 15:44:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
paint.cpp: In function ‘int min_cost(int, const std::vector<int>&, const std::vector<int>&)’:
paint.cpp:7:27: error: ‘INT_MAX’ was not declared in this scope
7 | vector<int> dp(n + 1, INT_MAX);
| ^~~~~~~
paint.cpp:4:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
3 | #include <algorithm>
+++ |+#include <climits>
4 | using namespace std;