Rosetta Problems
← atcoder に戻る
島巡り (Island Hopping)
https://atcoder.jp/contests/joisp2024/tasks/joisp2024_k