cf/mirror

Typical Interview Problem

CF
1796A800· newbie2s512 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
3
3
FFB
8
BFFBFFBF
3
BBB
Output
YES
YES
NO
1796A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)