/ CWOI /

记录详情

Accepted

/in/foo.cc: In function 'void build(int, int, int)':
/in/foo.cc:41:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~
/in/foo.cc: In function 'll query(int, int, int)':
/in/foo.cc:54:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=E[id].l+E[id].r>>1;
          ~~~~~~~^~~~~~~~
/in/foo.cc: In function 'void update(int, int, int, ll)':
/in/foo.cc:69:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=E[id].l+E[id].r>>1;
          ~~~~~~~^~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 6ms 10.375 MiB
#2 Accepted 5ms 11.387 MiB
#3 Accepted 7ms 11.625 MiB
#4 Accepted 14ms 10.105 MiB
#5 Accepted 23ms 11.66 MiB
#6 Accepted 33ms 10.125 MiB
#7 Accepted 49ms 11.043 MiB
#8 Accepted 36ms 11.738 MiB
#9 Accepted 38ms 10.125 MiB
#10 Accepted 22ms 11.727 MiB

信息

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