/ CWOI /

记录详情

Accepted

/in/foo.cc: In function 'void Build(int, int, int)':
/in/foo.cc:35:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~
/in/foo.cc: In function 'long long int Query(int, int, int)':
/in/foo.cc:52:20: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=tree[rt].l+tree[rt].r>>1;
          ~~~~~~~~~~^~~~~~~~~~~
/in/foo.cc: In function 'void Update(int, int, int, long long int)':
/in/foo.cc:67:20: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=tree[rt].l+tree[rt].r>>1;
          ~~~~~~~~~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 256.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 3ms 2.285 MiB
#4 Accepted 11ms 3.375 MiB
#5 Accepted 15ms 4.371 MiB
#6 Accepted 24ms 1.0 MiB
#7 Accepted 52ms 4.867 MiB
#8 Accepted 37ms 3.566 MiB
#9 Accepted 36ms 5.09 MiB
#10 Accepted 16ms 2.453 MiB

信息

递交者
类型
递交
题目
2017.07.10 P2 楼梯
语言
C++
递交时间
2017-07-10 19:07:24
评测时间
2017-07-10 19:07:24
评测机
分数
200
总耗时
204ms
峰值内存
5.09 MiB