cf/mirror

Equal Binary Subsequences

CF
1736D2200· master1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4
2
1010
3
100010
2
1111
2
1110
Output
0
1 2
2 3 5
1 2 5
3 2 3 4
1 4
-1
1736D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)