Problem rmaxq
User ZhongDing
Submission Time 2024-03-01 10:05:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rmaxq.cpp: In member function ‘long long int LazySegmentTree::getMax(Node*, long long int, long long int)’:
rmaxq.cpp:57:27: error: ‘INT_MIN’ was not declared in this scope
57 | if (!node) return INT_MIN; // Empty node
| ^~~~~~~
rmaxq.cpp:5:1: note: ‘INT_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
4 | #include <vector>
+++ |+#include <climits>
5 | using namespace std;