//
pkg.gl
Category
github.com/0RAJA/Rutils
struct
treenums
package
0.6.1
Repository:
https://github.com/0raja/rutils.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
0
Dependents
0
Files
22 SLOC
#
README
t[x]父节点 = t[x+lowbit(x)]
t[x]前一个兄弟节点 = t[x-lowbit(x)]
add
ask
区间修改,区间查询
#
Functions
NewTreeNum
NewTreeNum 初始化一个存储n个元素的树状数组.
#
Structs
TreeNum
No description provided by the author