Problem segmenttree
User YEethui
Submission Time 2023-11-04 13:59:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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