/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void update(int&, int, int, int, int, int)':
/in/foo.cc:27:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~
/in/foo.cc: In function 'int query(int, int, int, int, int)':
/in/foo.cc:34:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1,sum=sum(lson(t))-sum(lson(s));
          ~^~
# 状态 耗时 内存占用
#1 Accepted 2ms 1000.0 KiB
#2 Accepted 2ms 536.0 KiB
#3 Accepted 4ms 1.055 MiB
#4 Accepted 7ms 1.688 MiB
#5 Accepted 8ms 2.016 MiB
#6 Accepted 22ms 4.039 MiB
#7 Accepted 55ms 8.199 MiB
#8 Accepted 126ms 17.125 MiB
#9 Accepted 162ms 21.691 MiB
#10 Accepted 200ms 21.613 MiB

信息

递交者
类型
递交
题目
P1081 野生动物园
语言
C++
递交时间
2019-05-26 17:40:15
评测时间
2019-05-26 17:40:15
评测机
分数
100
总耗时
592ms
峰值内存
21.691 MiB