#Lutece1750. 奇怪的排列题
奇怪的排列题
Migrated from Lutece 1750 奇怪的排列题
All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.
Description
给定 ,易知对于 ,这 个数总共有 个排列,我们定义其中一个排列 是奇怪的,要求对于 到 之间的每个数 ,都满足 ,请求出奇怪的排列的数量,对 取模
Input
一行两个整数 ()。
Output
奇怪的排列数,对 取模。
Samples
2 1
4
Note
满足条件的排列有 。