Flying Sort (Hard Version)
1367F22400· grandmaster2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
954 7 2 2 953 5 8 1 751 2 2 4 520 130 1 040 1 0 040 1 0 140 1 0 22016 15 1 10 0 14 0 10 3 9 2 5 4 5 17 9 10 20 0 9
Output
2200111116
58%
1367F2.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)