Chess Strikes Back (easy version)
1379F12700· international gm2s512 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
1 3 31 11 52 4
Output
YESYESNO
Sample 2of 2
Input
3 2 74 26 41 32 22 44 43 1
Output
YESYESNONONONONO
58%
1379F1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)