/ Vijos /

记录详情

Accepted

foo.cc: In function 'void build(int, int, int)':
foo.cc:40:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   40 |                 int mid=l+r>>1;
      |                         ~^~
foo.cc: In function 'void update(int, int, int, ll)':
foo.cc:53:32: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   53 |                 int mid=tr[u].l+tr[u].r>>1;
      |                         ~~~~~~~^~~~~~~~
foo.cc: In function 'll query(int, int, int)':
foo.cc:64:32: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   64 |                 int mid=tr[u].l+tr[u].r>>1;
      |                         ~~~~~~~^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 95ms 2.242 MiB
#2 Accepted 105ms 3.992 MiB
#3 Accepted 46ms 7.117 MiB
#4 Accepted 21ms 3.625 MiB
#5 Accepted 82ms 7.121 MiB
#6 Accepted 60ms 3.367 MiB
#7 Accepted 58ms 3.992 MiB
#8 Accepted 63ms 3.992 MiB
#9 Accepted 56ms 1.492 MiB
#10 Accepted 82ms 4.117 MiB

信息

递交者
类型
递交
题目
P1659 河蟹王国
语言
C++
递交时间
2022-09-04 20:04:10
评测时间
2022-09-04 20:04:10
评测机
分数
100
总耗时
671ms
峰值内存
7.121 MiB