Answers

✨ Best Answer ✨

円順列はご存知でしょうか
(n-1)!ってやつです
2番は全ての並べ方から同じ並びになっているものを省きましょう

Post A Comment
Were you able to resolve your confusion?