Rosetta Problems

Jumping Through Intervals

https://atcoder.jp/contests/arc175/tasks/arc175_c