int search(int *nums,int numsLen,int target) { int low = 0; int high = numsLen - 1; int mid = (low + high)/2; //设置中间值 if(numsLen<=0) return -1; ...