cf/mirror

Pile Shuffling

CF
2122B1100· newbie1s256 MB⌨ stdin/stdout

Examples

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