/ Vijos /

记录详情

Accepted

foo.cc: In function ‘void build(int, int, int)’:
foo.cc:33:18: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
   33 |         int mid=l+r>>1;
      |                 ~^~
foo.cc: In function ‘tree query(int, int, int)’:
foo.cc:43:23: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
   43 |         int mid=t[u].l+t[u].r>>1;
      |                 ~~~~~~^~~~~~~
foo.cc: In function ‘void update(int, int, int)’:
foo.cc:69:23: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
   69 |         int mid=t[u].l+t[u].r>>1;
      |                 ~~~~~~^~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 536.0 KiB
#2 Accepted 30ms 1.023 MiB
#3 Accepted 47ms 4.078 MiB
#4 Accepted 77ms 2.352 MiB
#5 Accepted 180ms 5.273 MiB
#6 Accepted 269ms 28.512 MiB
#7 Accepted 305ms 30.078 MiB
#8 Accepted 346ms 30.121 MiB
#9 Accepted 299ms 30.273 MiB
#10 Accepted 315ms 30.277 MiB

信息

递交者
类型
递交
题目
P1083 小白逛公园
语言
C++
递交时间
2024-07-15 12:00:29
评测时间
2024-07-15 12:00:29
评测机
分数
100
总耗时
1875ms
峰值内存
30.277 MiB