0_0_26476870_15640.c:4:1: error: unknown type name 'using'
using namespace std;
^
0_0_26476870_15640.c:4:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
using namespace std;
^
0_0_26476870_15640.c:10:5: error: expected specifier-qualifier-list before 'complex'
complex(double _r = 0,double _i = 0)
^
0_0_26476870_15640.c:27:13: error: unknown type name 'complex'
void change(complex y[],int len)
^
0_0_26476870_15640.c:42:10: error: unknown type name 'complex'
void fft(complex y[],int len,int on)
^
0_0_26476870_15640.c:71:28: error: expected expression before '/' token
const int maxn = 1e6+7 // ĪÃû³¬Ê±£¿£¿£¿
^
0_0_26476870_15640.c:71:28: error: stray '\304' in program
0_0_26476870_15640.c:71:28: error: stray '\252' in program
0_0_26476870_15640.c:71:28: error: stray '\303' in program
0_0_26476870_15640.c:71:28: error: stray '\373' in program
0_0_26476870_15640.c:71:28: error: stray '\263' in program
0_0_26476870_15640.c:71:28: error: stray '\254' in program
0_0_26476870_15640.c:71:28: error: stray '\312' in program
0_0_26476870_15640.c:71:28: error: stray '\261' in program
0_0_26476870_15640.c:71:28: error: stray '\243' in program
0_0_26476870_15640.c:71:28: error: stray '\277' in program
0_0_26476870_15640.c:71:28: error: stray '\243' in program
0_0_26476870_15640.c:71:28: error: stray '\277' in program
0_0_26476870_15640.c:71:28: error: stray '\243' in program
0_0_26476870_15640.c:71:28: error: stray '\277' in program
0_0_26476870_15640.c:73:1: error: unknown type name 'complex'
complex a[maxn], b[maxn];
^
0_0_26476870_15640.c:73:9: error: variably modified 'a' at file scope
complex a[maxn], b[maxn];
^
0_0_26476870_15640.c:73:18: error: variably modified 'b' at file scope
complex a[maxn], b[maxn];
^
0_0_26476870_15640.c: In function 'main':
0_0_26476870_15640.c:86:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i = 0; i < len; i++)
^
0_0_26476870_15640.c:86:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_26476870_15640.c:91:13: error: redefinition of 'i'
for(int i = 0; i < n; i++)
^
0_0_26476870_15640.c:86:13: note: previous definition of 'i' was here
for(int i = 0; i < len; i++)
^
0_0_26476870_15640.c:91:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i = 0; i < n; i++)
^
0_0_26476870_15640.c:93:7: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j = 0; j < m; j++)
^
0_0_26476870_15640.c:95:31: error: request for member 'r' in something not a structure or union
scanf("%lf", &a[i*M+j].r);
^
0_0_26476870_15640.c:98:13: error: redefinition of 'i'
for(int i = -R; i <= R; i++)
^
0_0_26476870_15640.c:91:13: note: previous definition of 'i' was here
for(int i = 0; i < n; i++)
^
0_0_26476870_15640.c:98:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i = -R; i <= R; i++)
^
0_0_26476870_15640.c:100:7: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j = -R; j <= R; j++)
^
0_0_26476870_15640.c:111:13: error: redefinition of 'i'
for(int i = 0; i< len; ++i)
^
0_0_26476870_15640.c:98:13: note: previous definition of 'i' was here
for(int i = -R; i <= R; i++)
^
0_0_26476870_15640.c:111:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i = 0; i< len; ++i)
^
0_0_26476870_15640.c:115:13: error: redefinition of 'i'
for(int i = 0; i < n; i++)
^
0_0_26476870_15640.c:111:13: note: previous definition of 'i' was here
for(int i = 0; i< len; ++i)
^
0_0_26476870_15640.c:115:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i = 0; i < n; i++)
^
0_0_26476870_15640.c:116:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j = 0; j < m; j++)
^
0_0_26476870_15640.c:118:36: error: request for member 'r' in something not a structure or union
ans = max(ans, a[(i+R)*M+j+R].r);
^
|