摘要: 1 int binSearch(const int arr[],int low,int high,int key)2 {3 if(low>high)4 return -1;5 int mid=low+(high-low)/2;6 if(arr[mid] == key... 阅读全文
posted @ 2015-09-08 17:30 PosProteus 阅读(199) 评论(0) 推荐(0) 编辑