/ Vijos /

记录详情

Accepted

foo.cc: In function 'int NG::iseg_node(int, int)':
foo.cc:59:29: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         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]
         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]
             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]
                 int a = mnp[j-1][i], b = mnp[j-1][i+(1<<j-1)];
                                                         ~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 334ms 19.633 MiB
#2 Accepted 327ms 19.824 MiB
#3 Accepted 348ms 19.895 MiB
#4 Accepted 342ms 20.0 MiB
#5 Accepted 384ms 19.918 MiB
#6 Accepted 699ms 37.742 MiB
#7 Accepted 771ms 37.707 MiB
#8 Accepted 818ms 37.531 MiB
#9 Accepted 861ms 37.543 MiB
#10 Accepted 944ms 37.402 MiB
#11 Accepted 1033ms 37.176 MiB
#12 Accepted 1078ms 36.434 MiB
#13 Accepted 1125ms 36.898 MiB
#14 Accepted 1169ms 36.844 MiB
#15 Accepted 1221ms 40.113 MiB
#16 Accepted 1308ms 40.059 MiB
#17 Accepted 1400ms 39.535 MiB
#18 Accepted 1539ms 39.625 MiB
#19 Accepted 1529ms 36.93 MiB
#20 Accepted 1506ms 37.621 MiB

信息

递交者
类型
递交
题目
P2022 天才黑客
语言
C++
递交时间
2021-07-24 12:52:17
评测时间
2021-07-24 12:52:17
评测机
分数
100
总耗时
18746ms
峰值内存
40.113 MiB