Rosetta Problems
← atcoder に戻る
Dominoes
https://atcoder.jp/contests/awc0097/tasks/awc0097_c