Fenwick Tree
1967C2300· international master3s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
28 11 2 1 4 1 2 1 86 21 4 3 17 5 16
Output
1 1 1 1 1 1 1 11 2 3 4 5 6
58%
1967C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…