编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#5766 | #1062. 序列分段 | Compile Error | 0 | 0 ms | 0 K | C++ 17 / 2.4 K | s230004040 | 2024-08-17 15:12:04 |
using namespace std;
// 线段树节点
;
int
编译信息
/sandbox/1/a.cpp: In member function 'int SegmentTree::queryMax(int, int, int, int, int)':
/sandbox/1/a.cpp:39:20: error: 'INT_MIN' was not declared in this scope
39 | return INT_MIN;
| ^~~~~~~
/sandbox/1/a.cpp:4:1: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
3 | #include <algorithm>
+++ |+#include <climits>
4 |
/sandbox/1/a.cpp: In member function 'int SegmentTree::queryMin(int, int, int, int, int)':
/sandbox/1/a.cpp:53:20: error: 'INT_MAX' was not declared in this scope
53 | return INT_MAX;
| ^~~~~~~
/sandbox/1/a.cpp:53:20: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?