标签: 树状数组

1 篇文章

树状数组-BIT
洛谷P3374 //单点修改,区间查询 #include<cstdio> #include<vector> #define lowbit(x) (x&(-x)) using namespace std; int main(){ int n,m; scanf("%d%d",&n,&m); vector<lon…