Closest Equals
522D2000· candidate master3s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
5 31 1 2 3 21 52 43 5
Output
1-12
Sample 2of 2
Input
6 51 2 1 3 2 34 61 32 52 41 6
Output
223-12
58%
522D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)