3</time></a> </div>
</footer>
<div class="comment-content">
<p>int mid = low + (high – low)/2;<br/>
当low为1,hight为0时,结果是1<br/>
当low为0,hight为1时,结果是0<br/>
如果采取mid = low + ((high – low)&gt;&gt;1);<br/>
就正常,全是0</p>
</div>
 </article>
</li>
<li id="comment-1917726" class="pingback odd alt thread-odd thread-alt depth-1">
<div class="comment-body">
Pingback： <a href="http://collect.tobecoder.com/index.php/2017/09/18/c%e8%af%ad%e8%a8%80%e7%9a%84%e6%95%b4%e5%9e%8b%e