摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1166;树状数组: 1 #include<cstdio> 2 #include<cstring> 3 #include<iostream> 4 #include<algorithm> 5 using namespace std; 6 7 const int maxn = 50050; 8 int n,T; 9 int a[maxn];10 int C[maxn];11 int lowbit(int x){12 return x&(-x);13 阅读全文
posted @ 2013-06-02 22:59 等待最好的两个人 阅读(140) 评论(0) 推荐(0) 编辑