/ Vijos /

记录详情

Accepted

foo.cc: In function ‘int build(int, int, int, int)’:
foo.cc:30:18: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
   30 |         int mid=l+r>>1;
      |                 ~^~
foo.cc: In function ‘int find(int, int, int, int, int)’:
foo.cc:39:48: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
   39 |         int now=sumv[le[u2]]-sumv[le[u1]],mid=l+r>>1;
      |                                               ~^~
foo.cc: In function ‘int main()’:
foo.cc:53:18: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
   53 |             mid=l+r>>1;
      |                 ~^~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 3ms 536.0 KiB
#2 Accepted 2ms 764.0 KiB
#3 Accepted 5ms 1.273 MiB
#4 Accepted 7ms 2.0 MiB
#5 Accepted 9ms 2.363 MiB
#6 Accepted 24ms 4.277 MiB
#7 Accepted 49ms 8.812 MiB
#8 Accepted 118ms 22.801 MiB
#9 Accepted 113ms 18.02 MiB
#10 Accepted 135ms 22.805 MiB

信息

递交者
类型
递交
题目
P1081 野生动物园
语言
C++
递交时间
2024-09-21 21:08:20
评测时间
2024-09-21 21:08:20
评测机
分数
100
总耗时
470ms
峰值内存
22.805 MiB