注意,op == 3 时,如果你用了 auto it =lower_bound(V.begin(),V.end(),x); 当it==V.begin()时是不行的,找不到比x小的数字,就这一个细节直接卡了三个测试点,很可恶了! 有用求关哈