咋可能不遍历,不遍历你连数组里面有啥都不知道,排好序就是二分olog2n,没排好序就是on