Rosetta Problems
← atcoder に戻る
Efficient Quests
https://atcoder.jp/contests/awc0006/tasks/awc0006_b