/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int NG::iseg_node(int, int)':
/in/foo.cc:59:29: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         int mid = info[o].l + info[o].r >> 1;
                   ~~~~~~~~~~^~~~~~~~~~~
/in/foo.cc: In function 'int NG::oseg_node(int, int)':
/in/foo.cc:77:29: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         int mid = info[o].l + info[o].r >> 1;
                   ~~~~~~~~~~^~~~~~~~~~~
/in/foo.cc: In function 'void NG::getintv(int, int, int)':
/in/foo.cc:99:33: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
             int mid = info[o].l + info[o].r >> 1;
                       ~~~~~~~~~~^~~~~~~~~~~
/in/foo.cc: In member function 'void Tree::rmq_init()':
/in/foo.cc:182:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
                 int a = mnp[j-1][i], b = mnp[j-1][i+(1<<j-1)];
                                                         ~^~
# 状态 耗时 内存占用
#1 Accepted 339ms 16.789 MiB
#2 Accepted 330ms 16.98 MiB
#3 Accepted 360ms 17.047 MiB
#4 Accepted 354ms 17.141 MiB
#5 Accepted 356ms 17.086 MiB
#6 Accepted 659ms 34.875 MiB
#7 Accepted 726ms 34.707 MiB
#8 Accepted 770ms 34.562 MiB
#9 Accepted 835ms 34.504 MiB
#10 Accepted 899ms 34.453 MiB
#11 Accepted 966ms 34.109 MiB
#12 Accepted 1045ms 33.469 MiB
#13 Accepted 1135ms 33.801 MiB
#14 Accepted 1239ms 33.785 MiB
#15 Accepted 1230ms 35.641 MiB
#16 Accepted 1299ms 35.543 MiB
#17 Accepted 1385ms 34.922 MiB
#18 Accepted 1442ms 35.113 MiB
#19 Accepted 1445ms 32.258 MiB
#20 Accepted 1344ms 32.789 MiB

信息

递交者
类型
递交
题目
P2022 天才黑客
语言
C++
递交时间
2021-12-19 16:47:38
评测时间
2021-12-19 16:47:38
评测机
分数
100
总耗时
18169ms
峰值内存
35.641 MiB