摘要: A: 求一个排列满足 \(p_i>p_{i+1}\) 的数对大于 \(n\) 的排列数。 显然这玩意对称,直接 \(\frac{(2n)!}{2}\) #include<bits/stdc++.h> using namespace std; const int N=2e5+10; const int 阅读全文
posted @ 2021-10-01 19:06 Refined_heart 阅读(32) 评论(0) 推荐(0) 编辑