Problem | beareatrabbit |
---|---|
User | Elnathan |
Submission Time | 2023-11-19 19:15:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
beareatrabbit.cpp: In function ‘int deez(int, int)’:
beareatrabbit.cpp:20:29: error: ‘INT_MAX’ was not declared in this scope
20 | if (dp[index][value] != INT_MAX) {
| ^~~~~~~
beareatrabbit.cpp:3:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include <map>
+++ |+#include <climits>
3 |
beareatrabbit.cpp: In function ‘int main()’:
beareatrabbit.cpp:35:32: error: ‘INT_MAX’ was not declared in this scope
35 | fill(&dp[0][0], &dp[n][0], INT_MAX);
| ^~~~~~~
beareatrabbit.cpp:35:32: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?