Сортировка слиянием
1531E3⌨ stdin/stdout
Examples
Sample 1of 3
Input
00000000000000000000000000000000
Output
161 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Sample 2of 3
Input
11111111111111111111111111111111
Output
1616 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
Sample 3of 3
Input
101011010001100100011011001111011000011110010
Output
1613 6 1 7 12 5 4 15 14 16 10 11 3 8 9 2
58%
1531E3.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)