会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
hxy
hxy's blog
博客园
首页
新随笔
联系
管理
订阅
2015年9月1日
hdu 2852 树状数组
摘要: 查找比a大的第k小的元素其实就是查找第sum(a)+k小的元素,用不需要二分的树状数组就可以了。 1 #include 2 #include 3 #include 4 using namespace std; 5 6 const int N = 100000; 7 int c[N]; 8 ...
阅读全文
posted @ 2015-09-01 16:29 hxy_has_been_used
阅读(108)
评论(0)
推荐(0)
编辑
公告