Rosetta Problems
← atcoder に戻る
Climbing to the Summit
https://atcoder.jp/contests/awc0020/tasks/awc0020_b