Rosetta Problems

排列的最大阶

https://www.acwing.com/problem/content/3919