摘要: 希望大家都可以越来越好 树状数组关键在于数组元素下标之间的二进制关系用这个来高效的求和以及更新单个元素的值 树状数组基础模板 #include<bits/stdc++.h> using namespace std; const int N=1e5+5; int a[N]; int tree[N]; 阅读全文
posted @ 2019-08-27 23:05 Sjhhhhh 阅读(225) 评论(0) 推荐(0) 编辑