随笔分类 -  树状数组

摘要:#include<iostream> #include<cstdio> #include<algorithm> using namespace std; int sum,tree[300005],ll[300005],rank[300005],n; struct Node{ int num,val; 阅读全文
posted @ 2021-08-12 19:31 latent_Lin 阅读(39) 评论(0) 推荐(0)
摘要:题目传送门1 较好的博客传送门 #include<iostream> #include<vector> #include<cstdio> #include<algorithm> #include<map> #define INF 0x7f7f7f using namespace std; int n 阅读全文
posted @ 2021-08-03 19:26 latent_Lin 阅读(33) 评论(0) 推荐(0)