二分查找注意事项: 1.while(low<=high) =去掉所有用例都是NO 2.每次high = mid -1,low = mid +1 +-1不能忘,否则结果超时 #include<iostream> #include<string> #include<vector> #include<algorithm> using namespace std; string binarySearch(int test[],int n,int x){ int low = 0;int high = n-1; while(low<=high){...