摘要:#include using namespace std; int findIndex(char * v,char key,int index) { int m,left,right; left=0; right=index; while(1) { m=(right-left)/2; if(key*(v+righ...
阅读全文
10 2016 档案
摘要:#include using namespace std; int shortQuikTest(char * v ,int left ,int right) { if(left>right) { return -1 ; } int i=left; int j=right; char key=*(v+left); while(i=*(v+i)) ...
阅读全文