摘要: #include<iostream> using namespace std; const int N = 1000010; int n,m; int q[N]; //二分 把一个区间分成性质互相对立的区间 //其中,左半部分的性质最右端的数,是这满足这性质的最后一点, //check中间索引的数比 阅读全文