HDU 2048 2049 (错位排列)
摘要:
错位排列递推式 f[0] = 0; f[1] = 0; f[i] = (i - 1) * (f[i - 1] + f[i - 2]); HDU 2048 全错位排列 #include <bits/stdc++.h> #define LL long long #define ULL unsigned 阅读全文
posted @ 2020-05-14 09:20 Willems 阅读(163) 评论(0) 推荐(0) 编辑