Description: FFT真的容易忘,所以就放到上面来了 #include<bits/stdc++.h> using namespace std; const int mxn=4e6+5; const double PI=acos(-1); int n,m,l,lim=1,r[mxn]; struct cp { double x,y; cp(double xx=0,double yy=0) {x=xx,y=yy;} friend cp operator + (cp a,cp b) { r…