cf/mirror

Constructing the Array

CF
1353D1600· expert1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
6
1
2
3
4
5
6
Output
1
1 2
2 1 3
3 1 2 4
2 4 1 3 5
3 4 1 5 2 6
1353D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)