POJ No.1064, binary search, train the thinking method used in this problem.