0_0_26272663_18945.cpp:56:7: error: 'maxn' does not name a type
const maxn = 200010;
^
0_0_26272663_18945.cpp:57:12: error: 'maxn' was not declared in this scope
Complex X1[maxn], X2[maxn];
^
0_0_26272663_18945.cpp:57:22: error: 'maxn' was not declared in this scope
Complex X1[maxn], X2[maxn];
^
0_0_26272663_18945.cpp:58:9: error: 'maxn' was not declared in this scope
int sum[maxn];
^
0_0_26272663_18945.cpp:59:9: error: 'maxn' was not declared in this scope
char s1[maxn], s2[maxn];
^
0_0_26272663_18945.cpp:59:19: error: 'maxn' was not declared in this scope
char s1[maxn], s2[maxn];
^
0_0_26272663_18945.cpp: In function 'int main()':
0_0_26272663_18945.cpp:63:24: error: 's1' was not declared in this scope
while (~scanf("%s%s", s1, s2)) {
^
0_0_26272663_18945.cpp:63:28: error: 's2' was not declared in this scope
while (~scanf("%s%s", s1, s2)) {
^
0_0_26272663_18945.cpp:68:28: error: 'X1' was not declared in this scope
for (int i=0; i<l1; i++) X1[i] = Complex(s1[l1-i-1]-'0', 0);
^
0_0_26272663_18945.cpp:69:28: error: 'X1' was not declared in this scope
for (int i=l1; i<l; i++) X1[i] = Complex(0, 0);
^
0_0_26272663_18945.cpp:70:28: error: 'X2' was not declared in this scope
for (int i=0; i<l2; i++) X2[i] = Complex(s2[l2-i-1]-'0', 0);
^
0_0_26272663_18945.cpp:71:28: error: 'X2' was not declared in this scope
for (int i=l2; i<l; i++) X2[i] = Complex(0, 0);
^
0_0_26272663_18945.cpp:72:7: error: 'X1' was not declared in this scope
fft(X1, l, 1);
^
0_0_26272663_18945.cpp:73:7: error: 'X2' was not declared in this scope
fft(X2, l, 1);
^
0_0_26272663_18945.cpp:76:19: error: 'len' was not declared in this scope
for (int i=0; i<len; i++) sum[i] = (int)(X1[i].x+0.5);
^
0_0_26272663_18945.cpp:76:29: error: 'sum' was not declared in this scope
for (int i=0; i<len; i++) sum[i] = (int)(X1[i].x+0.5);
^
0_0_26272663_18945.cpp:78:4: error: 'sum' was not declared in this scope
sum[i+1] += sum[i] / 10;
^
0_0_26272663_18945.cpp:82:10: error: 'sum' was not declared in this scope
while (sum[l] <= 0 && l > 0) l --;
^
0_0_26272663_18945.cpp:83:41: error: 'sum' was not declared in this scope
for (int i=l; i>=0; i--) printf("%c", sum[i]+'0');
^
|