Rosetta Problems

数直線

https://atcoder.jp/contests/cf18-relay-open/tasks/relay2018_d