树状数组
文章平均质量分 79
userluoxuan
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
UFOs(三维树状数组)
解题思路:貌似原创 2014-07-30 14:07:25 · 608 阅读 · 0 评论 -
Mobile phones(二维树状数组)
解题思路:完全就是二维树状数组的模板原创 2014-07-30 12:57:56 · 516 阅读 · 0 评论 -
Japan(树状数组)
DescriptionJapan plans to welcome the ACM ICPC World Finals and a lot of roads must be built for the venue. Japan is tall island with N cities on the East coast and M cities on the West coast (M原创 2014-07-29 21:56:28 · 771 阅读 · 0 评论 -
Ultra-QuickSort(树状数组 + 离散化)
DescriptionIn this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by swapping two adjacent sequence elements until the seq原创 2014-07-30 10:31:07 · 729 阅读 · 0 评论 -
敌兵布阵(树状数组)
解题思路:最基础的树状数组,原创 2014-07-28 17:29:56 · 503 阅读 · 0 评论 -
树状数组
http://www.topcoder.com/tc?module=Static&d1=tutorials&d2=binaryIndexedTrees#prob树状数组中用的d【】,每个点都有一定的管辖范围;如d[1]=a[1];d[2]=a[1]+a[2];d[3]=a[3];d[4]=a[1]+a[2]+a[3]+a[4];等等;这样转载 2014-07-28 16:44:29 · 476 阅读 · 0 评论 -
Stars(树状数组)
解题思路:题目一开始没看懂,读了半天才知道是一颗原创 2014-07-28 20:34:35 · 505 阅读 · 0 评论
分享