摘要: #include<iostream> using namespace std; const int N=1e5+10; int q[N]; int low(int x){ return x&(-x); } int main(){ int n; cin>>n; for(int i=0;i<n;i++) 阅读全文
posted @ 2022-10-29 22:09 山海自有归期 阅读(16) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> #include<vector> #include<algorithm> using namespace std; typedef pair<int,int>PII2; vector<int>q; vector<PII2>PII,PII1; const int 阅读全文
posted @ 2022-10-29 22:08 山海自有归期 阅读(22) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> #include<algorithm> #include<vector> using namespace std; int n; int l,r; typedef pair<int,int>PII; vector<PII>ses; void m(vector<P 阅读全文
posted @ 2022-10-29 22:08 山海自有归期 阅读(21) 评论(0) 推荐(0) 编辑