/ Vijos /

记录详情

Accepted

foo.cc: In function 'int NG::iseg_node(int, int)':
foo.cc:59:29: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   59 |         int mid = info[o].l + info[o].r >> 1;
      |                   ~~~~~~~~~~^~~~~~~~~~~
foo.cc: In function 'int NG::oseg_node(int, int)':
foo.cc:77:29: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   77 |         int mid = info[o].l + info[o].r >> 1;
      |                   ~~~~~~~~~~^~~~~~~~~~~
foo.cc: In function 'void NG::getintv(int, int, int)':
foo.cc:99:33: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   99 |             int mid = info[o].l + info[o].r >> 1;
      |                       ~~~~~~~~~~^~~~~~~~~~~
foo.cc: In member function 'void Tree::rmq_init()':
foo.cc:182:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
  182 |                 int a = mnp[j-1][i], b = mnp[j-1][i+(1<<j-1)];
      |                                                         ~^~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 521ms 16.934 MiB
#2 Accepted 443ms 17.363 MiB
#3 Accepted 543ms 17.488 MiB
#4 Accepted 583ms 17.488 MiB
#5 Accepted 337ms 17.488 MiB
#6 Accepted 710ms 35.477 MiB
#7 Accepted 772ms 35.34 MiB
#8 Accepted 657ms 35.219 MiB
#9 Accepted 703ms 35.23 MiB
#10 Accepted 743ms 34.973 MiB
#11 Accepted 1096ms 34.719 MiB
#12 Accepted 994ms 34.082 MiB
#13 Accepted 989ms 34.387 MiB
#14 Accepted 1309ms 34.344 MiB
#15 Accepted 1230ms 36.105 MiB
#16 Accepted 1407ms 36.195 MiB
#17 Accepted 1516ms 35.582 MiB
#18 Accepted 1761ms 35.648 MiB
#19 Accepted 1662ms 32.938 MiB
#20 Accepted 1343ms 33.43 MiB

信息

递交者
类型
递交
题目
P2022 天才黑客
语言
C++
递交时间
2021-12-19 16:42:02
评测时间
2021-12-19 17:01:03
评测机
分数
100
总耗时
19330ms
峰值内存
36.195 MiB