Ilya and tic-tac-toe game
754B1100· newbie2s256 MB⌨ stdin/stdout
Examples
Sample 1of 4
Input
xx...oo.x...oox.
Output
YES
Sample 2of 4
Input
x.oxox..x.o.oo.x
Output
NO
Sample 3of 4
Input
x..x..ooo...x.xo
Output
YES
Sample 4of 4
Input
o.x.o....x..ooxx
Output
NO
58%
754B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)