cf/mirror

Palindrome Flipping

CF
2158D2000· candidate master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
3
5
01011
10000
7
1010101
0101010
4
0010
0010
Output
2
1 3
3 5
1
1 7
0
2158D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…