Rosetta Problems

Order of Books on the Bookshelf

https://atcoder.jp/contests/awc0045/tasks/awc0045_b

対応するローカル問題