摘要: 二分查找是很重要,但也很容易在边界出问题的算法,本人结合二分查找的程序重点标注了几个很容易出错的地方,代码如下:#include int *bbsearch(int *t, int n, int x){ int *low = t; int *high = t + n;//... 阅读全文
posted @ 2015-05-24 17:35 chenqiangzhishen 阅读(332) 评论(0) 推荐(0)