摘要: 考察二分的一种写法,注意数据的溢出 public class Solution extends GuessGame { public int guessNumber(int n) { int left = 1; int right = n; while (left <= right) { int m 阅读全文
posted @ 2021-06-14 23:55 ACBingo 阅读(22) 评论(0) 推荐(0) 编辑