摘要: 求a/b ll qmi(ll a,ll b){ ll res=1; while(b){ if(b&1) res=res*a%mod; b>>=1; a=a*a%mod; } return res; } ll inv(ll p){ return qmi(p,mod-2); } ll ny(ll a,l 阅读全文
posted @ 2020-06-15 14:54 阿斯水生产线 阅读(157) 评论(0) 推荐(0) 编辑