Problem segmenttree
User TheInvadr
Submission Time 2023-01-20 14:31:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree.cpp: In function ‘int query(int, int, int, int, int)’:
segmenttree.cpp:39:16: error: ‘INT_MAX’ was not declared in this scope
39 | return INT_MAX;
| ^~~~~~~
segmenttree.cpp:3:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include <algorithm>
+++ |+#include <climits>
3 | using namespace std;