Rosetta Problems

カードの取り合い (Contingent of Cards)

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/632