Grid Sort
1044E3100· legendary gm2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
3 34 1 27 6 38 5 9
Output
18 1 4 7 8 5 6 3 2
Sample 2of 2
Input
3 51 2 3 5 1011 6 4 14 912 7 8 13 15
Output
34 4 14 13 84 5 10 9 44 12 7 6 11
58%
1044E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)