【HDOJ6630】permutation 2(递推)
摘要:题意:给定x,y,n,有标号从1到n的n个数组,求合法的排列个数模998244353使得 1:p[1]=x 2:p[n]=y 3:相邻两项的差的绝对值<=2 n<=1e5 思路:
阅读全文
posted @ 2019-10-10 16:02
posted @ 2019-10-10 16:02
posted @ 2018-10-06 15:46