Rosetta Problems

Sea Chart Lanes

https://atcoder.jp/contests/awc0173/tasks/awc0173_b