Rosetta Problems

魚の生息範囲 (Fish)

https://atcoder.jp/contests/joi2013yo/tasks/joi2013yo_e