minux_sufe
minux_sufe
全部文章
分类
算法(2)
题解(28)
归档
标签
去牛客网
登录
/
注册
Code Rush
0x00
全部文章
(共3篇)
树状数组
#include <cstdio> #include <cstring> using namespace std; typedef long long LL; const int N=1e6+5; LL tr[N]; int n, q; inline int lowbit...
树状数组
2020-07-11
0
487
树状数组&线段树
树状数组 #include <cstdio> #include <cstring> #include <algorithm> using namespace std; typedef long long LL; const int N=100005; in...
树状数组
线段树
2020-07-10
0
558
树状数组模板题
#include <bits/stdc++.h> using namespace std; typedef long long LL; const int N=200005; int n; int a[N]; // 表示原数组 int tr[N]; // 表示树状数组 int ga[N...
树状数组
2020-07-09
0
573