随笔分类 - A-模板
摘要:Cipolla cpp LL ksm(LL k,LL n) { LL s=1; for(;n;n =1,k=k k%mo) if(n&1) s=s k%mo; return s; } namespace number { LL D; struct Z { LL x,y; Z(LL _x=0,LL _
阅读全文
摘要:FFT NTT 多项式除法(多项式取模) 多点求值(洛谷 P5050) 多项式开根(洛谷P5205) 多项式取ln(洛谷P4725) cpp include define fo(i,a,b) for(int i=a;i=b; i) define mo 998244353 define LL long
阅读全文

浙公网安备 33010602011771号