摘要: #include int binary_search(int* arr,int len, int key) { int start = 0, mid = 0, end = len; while(start end) return start; int mid = (start + end) / 2; if(arr[mid] == key){ ... 阅读全文
posted @ 2018-05-17 10:08 CHRIS-ZSY 阅读(381) 评论(0) 推荐(0) 编辑