记录详情

Time Exceeded

foo.cpp: In function 'void build(int, int, int)':
foo.cpp:26:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~
foo.cpp: In function 'void add(int, int, int, int, int, int)':
foo.cpp:47:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~
foo.cpp: In function 'int query(int, int, int, int, int)':
foo.cpp:55:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1,num=-2147483647,tmp;
          ~^~
# 状态 耗时 内存占用
#1 Accepted 31ms 18.168 MiB
#2 Accepted 343ms 18.164 MiB
#3 Accepted 359ms 18.156 MiB
#4 Time Exceeded ≥2015ms ≥18.168 MiB
#5 Time Exceeded ≥2015ms ≥18.172 MiB

信息

递交者
类型
递交
题目
线段树模板题
语言
C++
递交时间
2017-03-15 16:46:27
评测时间
2017-03-15 16:46:27
评测机
分数
60
总耗时
≥4763ms
峰值内存
≥18.172 MiB