/ 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 410ms 16.797 MiB
#2 Accepted 405ms 16.91 MiB
#3 Accepted 422ms 17.004 MiB
#4 Accepted 419ms 17.09 MiB
#5 Accepted 409ms 17.086 MiB
#6 Accepted 645ms 36.035 MiB
#7 Accepted 705ms 36.023 MiB
#8 Accepted 814ms 35.867 MiB
#9 Accepted 826ms 35.809 MiB
#10 Accepted 922ms 35.672 MiB
#11 Accepted 1065ms 35.469 MiB
#12 Accepted 1063ms 34.742 MiB
#13 Accepted 1171ms 35.133 MiB
#14 Accepted 1034ms 35.133 MiB
#15 Accepted 1314ms 36.883 MiB
#16 Accepted 1327ms 36.883 MiB
#17 Accepted 1364ms 36.281 MiB
#18 Accepted 1503ms 36.438 MiB
#19 Accepted 1486ms 33.883 MiB
#20 Accepted 1644ms 34.469 MiB

信息

递交者
类型
递交
题目
P2022 天才黑客
语言
C++
递交时间
2023-07-15 12:59:50
评测时间
2023-07-15 13:01:14
评测机
分数
100
总耗时
18958ms
峰值内存
36.883 MiB