Rosetta Problems
← atcoder に戻る
Organizing the Bookshelf
https://atcoder.jp/contests/awc0017/tasks/awc0017_a