Rosetta Problems
← atcoder に戻る
Card Stacking
https://atcoder.jp/contests/awc0060/tasks/awc0060_d