lucas定理
时间:2018-07-30 19:22:26
收藏:0
阅读:154
ll Lucas(ll n, ll m ) { if(m ==0) return 1; else return (C(n%p, m%p)*Lucas(n/p, m/p))%p; }
原文:https://www.cnblogs.com/mltang/p/9392265.html
评论(0)