文件名称:Binary-Inddexed-Tree
-
所属分类:
- 标签属性:
- 上传时间:2015-10-19
-
文件大小:1.43kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
一个树状数组各种改造姿势的模板。除了常规用法单点查询求前缀和外,支持区间修改单点查询、区间修改区间求和、RMQ、离线平衡树以及多维扩展-Many improved versions of binary indexed tree. Which can be used to do these kinds of work in a 1D array:
Change one point+k and get the prefixsum
Change a range+k and get value of one point
Change a range+k and get the prefixsum
RMQ(Range max/minimum question)
An offline balanced tree
2D extend and 2+D is similar
Change one point+k and get the prefixsum
Change a range+k and get value of one point
Change a range+k and get the prefixsum
RMQ(Range max/minimum question)
An offline balanced tree
2D extend and 2+D is similar
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Binary Inddexed Tree.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.