Problem collectmushrooms
User Khai
Submission Time 2024-06-18 22:33:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

collectmushrooms.cpp: In member function ‘int SegmentTree::query(int, int, int, int, int)’:
collectmushrooms.cpp:35:20: error: ‘INT_MIN’ was not declared in this scope
35 | return INT_MIN;
| ^~~~~~~
collectmushrooms.cpp:4:1: note: ‘INT_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
3 | #include <algorithm>
+++ |+#include <climits>
4 | using namespace std;