Rosetta Problems

和がNの区間

https://atcoder.jp/contests/chokudai_S001/tasks/chokudai_S001_i