Constructing the Array
1353D1600· expert1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
6123456
Output
11 22 1 33 1 2 42 4 1 3 53 4 1 5 2 6
58%
1353D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
6123456
11 22 1 33 1 2 42 4 1 3 53 4 1 5 2 6