Wrong Answer

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

信息

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