记录详情

Accepted

foo.cc:7:17: warning: overflow in conversion from 'double' to 'int' changes value from '1.0e+18' to '2147483647' [-Woverflow]
    7 | const int inf = 1e18;
      |                 ^~~~
foo.cc: In function 'void change(int, int, int, int, int)':
foo.cc:75:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   75 |  int mid = l + r >> 1;
      |            ~~^~~
foo.cc: In function 'int query(int, int)':
foo.cc:87:23: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   87 |  int mid = tree[rt].l + tree[rt].r >> 1;
      |            ~~~~~~~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 384.0 KiB
#2 Accepted 3ms 384.0 KiB
#3 Accepted 5ms 384.0 KiB
#4 Accepted 9ms 384.0 KiB
#5 Accepted 4ms 384.0 KiB
#6 Accepted 6ms 384.0 KiB
#7 Accepted 5ms 384.0 KiB
#8 Accepted 2409ms 25.676 MiB
#9 Accepted 1082ms 26.617 MiB
#10 Accepted 2231ms 25.742 MiB

信息

递交者
类型
递交
题目
P1384 Problem C. Segtree Master
比赛
2022年暑期算法队集训赛
语言
C++
递交时间
2022-07-08 15:57:25
评测时间
2022-07-08 15:57:25
评测机
分数
100
总耗时
5764ms
峰值内存
26.617 MiB