Minimize the Difference
2013D1900· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
51131 2 344 1 2 344 2 3 155 14 4 10 2
Output
02113
58%
2013D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
51131 2 344 1 2 344 2 3 155 14 4 10 2
02113