cf/mirror

Cyclic Permutations

CF
1391C1500· specialist1s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
4
Output
16
Sample 2of 2
Input
583291
Output
135712853
1391C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…