Make Nonzero Sum (easy version)
1753A11300· pupil2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
441 1 1 16-1 1 1 1 1 131 -1 111
Output
11 421 34 6-1-1
58%
1753A1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
441 1 1 16-1 1 1 1 1 131 -1 111
11 421 34 6-1-1