记录详情

Wrong Answer

foo.cc: In function 'void build(int, int, int)':
foo.cc:27:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   27 |     int mid = l + r >> 1;
      |               ~~^~~
foo.cc: In function 'int ask(int, int, int)':
foo.cc:36:23: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   36 |     int mid = tr[u].l + tr[u].r >> 1;
      |               ~~~~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Wrong Answer Read -19274, expect -28371. 2ms 384.0 KiB
#3 Wrong Answer Read -9473, expect -19743. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1122 区间最小值
语言
C++
递交时间
2022-03-09 22:13:19
评测时间
2022-03-09 22:13:19
评测机
分数
33
总耗时
8ms
峰值内存
384.0 KiB