Min Cost Permutation (Easy Version)
1844F12600· international gm3s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
36 -73 1 4 1 5 93 21 3 51 27182818
Output
9 3 1 4 5 11 3 52818
58%
1844F1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)