Rosetta Problems

Make Intervals Disjoint

https://atcoder.jp/contests/tupc2024/tasks/tupc2024_q