Problem | stamps |
---|---|
User | Pan |
Submission Time | 2023-08-30 18:44:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
stamps.cpp: In function ‘int main()’:
stamps.cpp:22:27: error: ‘INT_MAX’ was not declared in this scope
22 | dp[i1][i2] = make_pair(INT_MAX,-1);
| ^~~~~~~
stamps.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;
stamps.cpp:44:24: error: ‘INT_MAX’ was not declared in this scope
44 | if (dp[N-1][P].first==INT_MAX)
| ^~~~~~~
stamps.cpp:44:24: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?