Rosetta Problems

Chess Board Piece Placement

https://atcoder.jp/contests/awc0177/tasks/awc0177_d