Problem segmenttree
User pIaceholder
Submission Time 2024-01-04 15:16:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree.cpp: In member function ‘int SEGMENT_TREE::MinRange(int, int)’:
segmenttree.cpp:29:19: error: ‘INT_MAX’ was not declared in this scope
29 | int ans = INT_MAX;
| ^~~~~~~
segmenttree.cpp:3:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include <vector>
+++ |+#include <climits>
3 |