Rosetta Problems

Maximum Danger Interval

https://atcoder.jp/contests/awc0158/tasks/awc0158_b