cf/mirror

Ilya and tic-tac-toe game

CF
754B1100· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 4
Input
xx..
.oo.
x...
oox.
Output
YES
Sample 2of 4
Input
x.ox
ox..
x.o.
oo.x
Output
NO
Sample 3of 4
Input
x..x
..oo
o...
x.xo
Output
YES
Sample 4of 4
Input
o.x.
o...
.x..
ooxx
Output
NO
754B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)