Rosetta Problems

Subsegments with Small Sums

https://atcoder.jp/contests/arc169/tasks/arc169_b