void binary_search(int left, int right){
     int mid;
     while(left < right){
          mid = (left+right) >> 1;
          if(checkout(mid)){                //答案在mid右边
               left = mid+1;
          }  else  {
               right = mid;
          }
     }
}