Open alantudyk opened 9 months ago
Tested: https://atcoder.jp/contests/practice2/submissions/45974331
Or: https://github.com/alantudyk/ac-library/blob/657d3f0de99087d7a3405523e6fa66c8b64fba92/atcoder/fenwicktree.hpp#L18-L26
Tested: https://atcoder.jp/contests/practice2/submissions/45974331