QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#166835#6515. Path Planningucup-team1577#Compile Error//C++203.5kb2023-09-06 19:10:212023-09-06 19:10:21

詳細信息

answer.code: In member function ‘int segsmall::query(int, int, int)’:
answer.code:68:57: error: ‘INT_MAX’ was not declared in this scope
   68 |                 if(r<tree[now].l||tree[now].r<l) return INT_MAX;
      |                                                         ^~~~~~~
answer.code:11:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
   10 | #include <set>
  +++ |+#include <climits>
   11 | #include <string>