Problem | stepgame |
---|---|
User | AltheaZ |
Submission Time | 2023-07-10 20:41:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
stepgame.cpp: In function ‘int main()’:
stepgame.cpp:20:18: error: ‘INT_MIN’ was not declared in this scope
20 | int maxSum = INT_MIN;
| ^~~~~~~
stepgame.cpp:4:1: note: ‘INT_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
3 | #include <algorithm>
+++ |+#include <climits>
4 |
stepgame.cpp:35:26: error: ‘INT_MAX’ was not declared in this scope
35 | int minSubarraySum = INT_MAX;
| ^~~~~~~
stepgame.cpp:35:26: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?