![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
树状数组
文章平均质量分 77
天使v之翼
Keep on fighting!
展开
-
POJ 2299 利用树状数组求逆序对数
HUD 2299原创 2016-08-01 15:43:20 · 426 阅读 · 0 评论 -
大连网赛 1010 HDU5877 离散化+树状数组
#include #include #include #include #include using namespace std; #define LL long long #define lowbit(x) x&(-x) const int maxn=100010; int t,n,u,v,a[maxn],c[maxn],q[maxn],rd[maxn]; vector G[maxn]; map原创 2016-09-11 16:29:11 · 545 阅读 · 0 评论