/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void build(int&, int, int)':
/in/foo.cc:26:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~
/in/foo.cc: In function 'void update(int&, int, int, int, int, int)':
/in/foo.cc:34: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:41:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1,sum=sum(lson(t))-sum(lson(s));
          ~^~
# 状态 耗时 内存占用
#1 Accepted 1ms 336.0 KiB
#2 Accepted 2ms 440.0 KiB
#3 Accepted 4ms 1.18 MiB
#4 Accepted 5ms 1.758 MiB
#5 Accepted 11ms 2.305 MiB
#6 Accepted 26ms 4.48 MiB
#7 Accepted 56ms 9.113 MiB
#8 Accepted 153ms 18.863 MiB
#9 Accepted 219ms 23.926 MiB
#10 Accepted 207ms 23.883 MiB

信息

递交者
类型
递交
题目
P1081 野生动物园
语言
C++
递交时间
2019-05-26 16:58:54
评测时间
2019-05-26 16:58:55
评测机
分数
100
总耗时
688ms
峰值内存
23.926 MiB