New Year and the Permutation Concatenation
1091D1700· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
3
Output
9
Sample 2of 3
Input
4
Output
56
Sample 3of 3
Input
10
Output
30052700
58%
1091D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
3
9
4
56
10
30052700