cf/mirror

Anton and Chess

CF
734D1700· expert4s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
2
4 2
R 1 1
B 1 5
Output
YES
Sample 2of 2
Input
2
4 2
R 3 3
B 1 5
Output
NO
734D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)