int mid = (left + right) / 2;//取中間位子當基準. if (list[mid] == SearchKey). {. return mid;//找到的index值. }.
確定! 回上一頁