📅  最后修改于: 2022-03-11 15:00:09.448000             🧑  作者: Mango
代码示例1
for i = 1 to n:
j = i + (i & -i) # Finds next higher index that this value should contribute to
if j <= n:
x[j] += x[i]