0_0_36605630_21409.cpp:9:8: error: 'MAX_AB' was not declared in this scope
Virt a[MAX_AB], b[MAX_AB];
^
0_0_36605630_21409.cpp:9:19: error: 'MAX_AB' was not declared in this scope
Virt a[MAX_AB], b[MAX_AB];
^
0_0_36605630_21409.cpp:15:16: error: 'MAX_FFT' was not declared in this scope
int l, rev[MAX_FFT];
^
0_0_36605630_21409.cpp:14:26: error: 'acos' was not declared in this scope
double Pi = acos(-1.0);
^
0_0_36605630_21409.cpp: In member function 'void FFT::init(int)':
0_0_36605630_21409.cpp:22:13: error: 'rev' was not declared in this scope
rev[i] = (rev[i >> 1] >> 1) | ((i & 1) << (l - 1));
^
0_0_36605630_21409.cpp: In member function 'void FFT::fast_fast_tle(Virt*, int)':
0_0_36605630_21409.cpp:32:21: error: 'rev' was not declared in this scope
if (i < rev[i]) swap(A[i], A[rev[i]]);//求出要迭代的序列
^
0_0_36605630_21409.cpp:32:49: error: 'swap' was not declared in this scope
if (i < rev[i]) swap(A[i], A[rev[i]]);//求出要迭代的序列
^
0_0_36605630_21409.cpp:36:33: error: 'cos' was not declared in this scope
Virt Wn(cos(Pi / mid), type * sin(Pi / mid)); //单位根
^
0_0_36605630_21409.cpp:36:55: error: 'sin' was not declared in this scope
Virt Wn(cos(Pi / mid), type * sin(Pi / mid)); //单位根
^
0_0_36605630_21409.cpp:48:56: error: 'a' was not declared in this scope
if (type == -1)for (int i = 0; i <= limit; i++)a[i].x = (long long)(a[i].x / limit + 0.5);
^
|