cf/mirror

AB Flipping

CF
1896B900· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
3
2
AB
4
BBBA
4
AABB
Output
1
0
3
1896B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)