Problem | photo |
---|---|
User | giaan1231 |
Submission Time | 2024-09-09 17:07:05 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
photo.cpp: In function ‘int findMinHeightDifference(int, int, std::vector<std::vector<int> >&)’:
photo.cpp:25:21: error: ‘INT_MIN’ was not declared in this scope
25 | int maxHeight = INT_MIN;
| ^~~~~~~
photo.cpp:5:1: note: ‘INT_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
4 | #include <algorithm>
+++ |+#include <climits>
5 |
photo.cpp:33:19: error: ‘INT_MAX’ was not declared in this scope
33 | int minDiff = INT_MAX;
| ^~~~~~~
photo.cpp:33:19: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?