Problem B9 · Easy
Precompute running sums to answer static inclusive range queries.
Open the interactive visualisation