#P1976. 鸡蛋饼
鸡蛋饼
Description
Recently, Xiao x discovered another interesting problem about circles: there are distinct points on a circle. Xiao x wants to connect these points with line segments (each point can be connected by exactly one segment), such that all segments do not intersect. He wants to know how many such connection schemes there are.
The answer is taken modulo .
Input Format
A single line containing a positive integer ().
Output Format
A single line containing an integer representing the answer.
The answer is taken modulo .
24
4057031
Hint
Translated by ChatGPT 5
京公网安备 11011102002149号