- 博客(2)
- 收藏
- 关注
原创 求组合数(nlogn)
#include <iostream>#include <algorithm>#include <cstring>using namespace std;const int MAX=1e6+10;using ll=long long;const int mod=1e9+7;long long fact[MAX],invfact[MAX];ll ksm(ll a, ll b, int mod) { ll res = 1 % mod; whi.
2022-05-18 20:17:43
182
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人