cf/mirror

Сортировка слиянием

CF
1531E2⌨ stdin/stdout

Examples

Sample 1of 3
Input
00000000000000000000000000000000
Output
16
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Sample 2of 3
Input
11111111111111111111111111111111
Output
16
16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
Sample 3of 3
Input
101011010001100100011011001111011000011110010
Output
16
13 6 1 7 12 5 4 15 14 16 10 11 3 8 9 2
1531E2.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)