摘要: 1 #include "stdafx.h" 2 #include 3 using namespace std; //折半查找(非递归调用) 6 bool binarySearch(int *arr,int low,int high,int key) 7 { 8 while (low key) { 11 high = mid - 1; 12 ... 阅读全文
posted @ 2016-08-17 22:12 Love63 阅读(476) 评论(0) 推荐(0) 编辑