binary search,AC