0_0_26476877_19603.cpp: In function 'void change(complex*, int)':
0_0_26476877_19603.cpp:32:32: error: 'swap' was not declared in this scope
if(i < j)swap(y[i],y[j]);
^
0_0_26476877_19603.cpp: At global scope:
0_0_26476877_19603.cpp:73:1: error: expected ',' or ';' before 'complex'
complex a[maxn], b[maxn];
^
0_0_26476877_19603.cpp: In function 'int main()':
0_0_26476877_19603.cpp:88:7: error: 'a' was not declared in this scope
a[i] = complex(0.0,0.0);
^
0_0_26476877_19603.cpp:89:7: error: 'b' was not declared in this scope
b[i] = complex(0.0, 0.0);
^
0_0_26476877_19603.cpp:95:23: error: 'a' was not declared in this scope
scanf("%lf", &a[i*M+j].r);
^
0_0_26476877_19603.cpp:105:11: error: 'b' was not declared in this scope
b[(i+R)*M + j+R] =complex( (1.0)/(d+1.0), 0.0);
^
0_0_26476877_19603.cpp:109:9: error: 'a' was not declared in this scope
fft(a, len, 1);
^
0_0_26476877_19603.cpp:110:9: error: 'b' was not declared in this scope
fft(b, len, 1);
^
0_0_26476877_19603.cpp:118:38: error: 'max' was not declared in this scope
ans = max(ans, a[(i+R)*M+j+R].r);
^
|