/ 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 364ms 16.988 MiB
#2 Accepted 367ms 17.359 MiB
#3 Accepted 349ms 17.488 MiB
#4 Accepted 339ms 17.488 MiB
#5 Accepted 345ms 17.488 MiB
#6 Accepted 610ms 35.48 MiB
#7 Accepted 673ms 35.355 MiB
#8 Accepted 755ms 35.23 MiB
#9 Accepted 808ms 35.105 MiB
#10 Accepted 910ms 35.105 MiB
#11 Accepted 998ms 34.859 MiB
#12 Accepted 1212ms 34.121 MiB
#13 Accepted 1135ms 34.605 MiB
#14 Accepted 1541ms 34.605 MiB
#15 Accepted 1519ms 36.23 MiB
#16 Accepted 1408ms 36.23 MiB
#17 Accepted 1481ms 35.605 MiB
#18 Accepted 1552ms 35.855 MiB
#19 Accepted 1504ms 33.273 MiB
#20 Accepted 1676ms 33.98 MiB

信息

递交者
类型
递交
题目
P2022 天才黑客
语言
C++
递交时间
2022-04-18 19:20:19
评测时间
2022-04-18 20:00:52
评测机
分数
100
总耗时
19560ms
峰值内存
36.23 MiB