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