| Final round of the X Vologda Regional Informatics Olympiad for the Governors Prize 2025, grades 9-10 |
|---|
| Finished |
While creating tests for the previous problem, the jury pondered the question: how many different tests can be devised for a given $$$k$$$? The jury considers two tests to be different if one cannot be obtained from the other by swapping groups and/or permuting numbers within the groups. Write a program to find the answer to this question.
A single integer $$$k$$$ ($$$1 \le k \le 16$$$) is given.
Output a single integer — the number of ways to split the first $$$4 \cdot k$$$ natural numbers into two groups of $$$2 \cdot k$$$ numbers each, such that the sums of the numbers in the groups are equal.
2
4
For the example with $$$k=2$$$, there are 4 different ways to partition:
Grading System. Solutions that work correctly for $$$k \le 6$$$ will be awarded 50 points.
Note: The answer may not fit in a 32-bit integer type; it is recommended to use a 64-bit type (long long in C++, long in Java and C#, int64 in Pascal). In Python, no additional steps are required.
| Name |
|---|


