#P3414. SAC#1 - 组合数
SAC#1 - 组合数
Description
Today Xiaoming learned about combinations, and now he wants to know the value of . Here is the binomial coefficient (i.e., denotes the number of ways to choose items from items without order), and ranges over all even integers from to .
Since the answer may be large, please output the answer modulo .
Input Format
The input contains a single integer .
Output Format
Output a single integer, the answer.
3
4
Hint
For 20% of the testdata, .
For 50% of the testdata, .
For 100% of the testdata, .
Translated by ChatGPT 5
京公网安备 11011102002149号