Make Nonzero Sum (hard version)
1753A21500· specialist2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
540 0 0 07-1 1 0 1 0 1 050 -1 1 0 131 0 111
Output
41 12 23 34 441 12 23 56 7-121 12 3-1
58%
1753A2.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)