Problem | candymountain_ex |
---|---|
User | pIaceholder |
Submission Time | 2024-01-15 11:34:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
candymountain_ex.cpp: In function ‘int solve(std::vector<int>&, int, int)’:
candymountain_ex.cpp:7:35: error: ‘INT_MIN’ was not declared in this scope
7 | if (i >= steps.size()) return INT_MIN;
| ^~~~~~~
candymountain_ex.cpp:4:1: note: ‘INT_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
3 | #include <vector>
+++ |+#include <climits>
4 |