cf/mirror

Math Test

CF
1622E2200· master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
3
4 3
5 1 2 2
110
100
101
100
4 4
6 2 0 10
1001
0010
0110
0101
3 6
20 3 15
010110
000101
111111
Output
3 1 2
2 3 4 1
3 1 4 5 2 6
1622E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)