Addition on Segments

2020 VietMX 0

Grisha come to a contest and faced the following problem. You are given an array of size $n$, initially consisting of zeros. The elements of […]