cf/mirror

New Year and the Permutation Concatenation

CF
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
1091D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)