Rosetta Problems
← atcoder に戻る
The Path of Carrying Luggage
https://atcoder.jp/contests/awc0016/tasks/awc0016_d