洛谷3807 卢卡斯定理 (Lucas定理模板题)
题目: https://www.luogu.org/problemnew/show/P3807代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int tmax=1e5+5;ll fac[tmax],rev[tmax],p;ll C(ll n,ll m){ ...
原创
2018-08-16 15:30:48 ·
465 阅读 ·
0 评论