/ 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 374ms 19.863 MiB
#2 Accepted 366ms 20.238 MiB
#3 Accepted 329ms 20.363 MiB
#4 Accepted 326ms 20.363 MiB
#5 Accepted 327ms 20.363 MiB
#6 Accepted 657ms 38.766 MiB
#7 Accepted 615ms 38.613 MiB
#8 Accepted 648ms 38.477 MiB
#9 Accepted 676ms 38.469 MiB
#10 Accepted 758ms 38.348 MiB
#11 Accepted 901ms 38.094 MiB
#12 Accepted 864ms 37.332 MiB
#13 Accepted 1000ms 37.883 MiB
#14 Accepted 1338ms 37.691 MiB
#15 Accepted 1358ms 41.031 MiB
#16 Accepted 1480ms 41.113 MiB
#17 Accepted 1233ms 40.473 MiB
#18 Accepted 1245ms 40.5 MiB
#19 Accepted 1558ms 37.797 MiB
#20 Accepted 1387ms 38.492 MiB

信息

递交者
类型
递交
题目
P2022 天才黑客
语言
C++
递交时间
2022-01-13 18:20:36
评测时间
2022-01-13 18:20:36
评测机
分数
100
总耗时
17449ms
峰值内存
41.113 MiB