摘要: 一、ll qpow(ll a,ll b,ll p){ ll ret=1;a%=p; while(b) { if(b&1) ret=ret*a%p; b/=2;a=a*a%p; } return ret;}二、Lucasll lucas(ll n,ll m,ll p... 阅读全文
posted @ 2018-10-02 21:38 The-Pines-of-Star 阅读(158) 评论(0) 推荐(0) 编辑