Wrong Answer

foo.cc: In function 'int main()':
foo.cc:13:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   13 |                 int mid=l+r>>1;
      |                         ~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Wrong Answer Read 6, expect 5. 4ms 256.0 KiB
#3 Wrong Answer Read 8, expect 7. 3ms 256.0 KiB
#4 Wrong Answer Read 12, expect 11. 3ms 256.0 KiB
#5 Wrong Answer Read 18, expect 17. 3ms 256.0 KiB

信息

递交者
类型
递交
题目
P1041 1 猜数游戏的最少次数
语言
C++
递交时间
2022-08-21 20:00:37
评测时间
2022-08-21 20:00:37
评测机
分数
20
总耗时
18ms
峰值内存
384.0 KiB