cf/mirror

Make It Zero

CF
1869A900· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
6
4
1 2 3 0
8
3 1 4 1 5 9 2 6
6
1 5 4 1 4 7
5
0 0 0 0 0
7
1 1 9 9 0 1 8
3
100 100 0
Output
1
1 4
2
4 7
1 8
6
1 2
3 4
5 6
1 3
4 6
1 6
0
4
1 2
6 7
3 4
6 7
1
1 2
1869A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)