cf/mirror

Make Nonzero Sum (easy version)

CF
1753A11300· pupil2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4
4
1 1 1 1
6
-1 1 1 1 1 1
3
1 -1 1
1
1
Output
1
1 4
2
1 3
4 6
-1
-1
1753A1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)