摘要: https://zhuanlan.zhihu.com/p/25017840 阅读全文
posted @ 2018-12-21 15:07 lqsno1 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 水。。。 #include<bits/stdc++.h> using namespace std; const int N=300005,inf=2147483647; int q[N],a[N],s[N]; int main(){ int n,m; scanf("%d%d",&n,&m); for 阅读全文
posted @ 2018-12-21 14:43 lqsno1 阅读(61) 评论(0) 推荐(0) 编辑
摘要: 那个写平衡树是不可能写平衡树,这辈子都不可能写平衡树。只有链表才能维持的了生命。 #include<bits/stdc++.h> using namespace std; const int N=1e5+5,inf=2147483647; typedef pair<int,int> P; P a[N 阅读全文
posted @ 2018-12-21 14:33 lqsno1 阅读(88) 评论(0) 推荐(0) 编辑