YNUCPC / ynu-icpc-library

ICPC用のライブラリ
MIT License
3 stars 0 forks source link

Fenwick Treeの追加 #56

Closed noss3885 closed 2 years ago

noss3885 commented 2 years ago

いわゆる Binary Indexed Tree。長さ n の配列 a に対して

をそれぞれ O(log N) で行うデータ構造。

参考資料

テスト問題

rogi52 commented 2 years ago

書きます。