Rosetta Problems

紅魔のお嬢様はチェスがお好き〜エイトクイーン〜

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