Rosetta Problems
← atcoder に戻る
Stacking Cards
https://atcoder.jp/contests/awc0050/tasks/awc0050_c