Weird Chess
538D1800· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
5oxxxxx...xx...xx...xxxxxo
Output
YES....x........x........x........x....xxxxoxxxx....x........x........x........x....
Sample 2of 3
Input
6.x.x..x.x.x..xo..xx..ox..x.x.x..x.x.
Output
YES.....................................x.x.......x...x........o........x...x.......x.x.....................................
Sample 3of 3
Input
3o.xoxxo.x
Output
NO
58%
538D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)