Codeforces Round #663 (Div. 2) C. Cyclic Permutations(组合数学)

NoSuchKey