Rosetta Problems

Free Contest 117 - BISHOPS

https://oj.vnoi.info/problem/fc117_bishops