atcoder#ABC134F. [ABC134F] Permutation Oddness
[ABC134F] Permutation Oddness
Score : points
Problem Statement
Let us define the oddness of a permutation = {} of {} as .
Find the number of permutations of {} of oddness , modulo .
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the number of permutations of {} of oddness , modulo .
3 2
2
There are six permutations of {}. Among them, two have oddness of : {} and {}.
39 14
74764168