Problem B6 · Easy

Segment Tree: Query and Update Ranges

Answer inclusive range sums after point assignments.

Open the interactive visualisation