摘要: 一 快速幂 inline int power(int a,int b){ int res=1; while(b){ if(b&1) res=res*a%mod; a=a*a%mod;b>>=1; }return res; } 线性筛素数 inline void merge(){ is[1]=1; f 阅读全文
posted @ 2023-02-01 14:52 yisiwunian 阅读(29) 评论(0) 推荐(0) 编辑