cf/mirror

Arranging Cats

CF
1921B800· newbie2s512 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
6
5
10010
00001
1
1
1
3
000
111
4
0101
1010
3
100
101
8
10011001
11111110
Output
2
0
3
2
1
4
1921B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)