/ 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 373ms 16.684 MiB
#2 Accepted 376ms 16.883 MiB
#3 Accepted 430ms 16.961 MiB
#4 Accepted 426ms 17.051 MiB
#5 Accepted 390ms 17.012 MiB
#6 Accepted 577ms 36.074 MiB
#7 Accepted 724ms 35.996 MiB
#8 Accepted 780ms 35.758 MiB
#9 Accepted 853ms 35.703 MiB
#10 Accepted 949ms 35.707 MiB
#11 Accepted 1037ms 35.414 MiB
#12 Accepted 905ms 34.805 MiB
#13 Accepted 1084ms 35.176 MiB
#14 Accepted 1198ms 35.098 MiB
#15 Accepted 1313ms 36.805 MiB
#16 Accepted 1321ms 36.758 MiB
#17 Accepted 1476ms 36.254 MiB
#18 Accepted 1418ms 36.355 MiB
#19 Accepted 1496ms 33.812 MiB
#20 Accepted 1579ms 34.508 MiB

信息

递交者
类型
递交
题目
P2022 天才黑客
语言
C++
递交时间
2023-05-23 18:48:15
评测时间
2023-05-23 18:48:15
评测机
分数
100
总耗时
18714ms
峰值内存
36.805 MiB