摘要: 树状数组: 1.将某一个数加上k 2.求出某区间每一个数的和 #include<bits/stdc++.h> using namespace std; typedef long long ll; ll n,m,a[500000+10]; ll lowbit(ll x){return x&(-x);} 阅读全文
posted @ 2023-11-25 20:17 Alric 阅读(4) 评论(0) 推荐(0) 编辑