0_0_22464345_20824.cpp: In function 'void add()':
0_0_22464345_20824.cpp:12:19: error: 'a' was not declared in this scope
int la=strlen(a);
^
0_0_22464345_20824.cpp:13:19: error: 'b' was not declared in this scope
int lb=strlen(b);
^
0_0_22464345_20824.cpp: In function 'void sub(char*, char*)':
0_0_22464345_20824.cpp:63:31: error: 's' was not declared in this scope
for(int i=j;i>=0;i--) s[++cnt] = c[i];
^
0_0_22464345_20824.cpp: At global scope:
0_0_22464345_20824.cpp:67:8: error: 'maxn' was not declared in this scope
char s[maxn];
^
0_0_22464345_20824.cpp:68:14: error: 'maxn' was not declared in this scope
char ans[55][maxn];
^
0_0_22464345_20824.cpp: In function 'int main()':
0_0_22464345_20824.cpp:77:11: error: 's' was not declared in this scope
cin>>s;
^
0_0_22464345_20824.cpp:90:19: error: 'maxn' was not declared in this scope
char a[maxn],b[maxn];
^
0_0_22464345_20824.cpp:92:13: error: 'a' was not declared in this scope
a[++cnt] = s[i];
^
0_0_22464345_20824.cpp:95:13: error: 'b' was not declared in this scope
b[++cnt] = s[i];
^
0_0_22464345_20824.cpp:100:13: error: 'ans' was not declared in this scope
ans[tt][++tmp] = s[i];
^
0_0_22464345_20824.cpp:101:12: error: 'ans' was not declared in this scope
ans[tt][len/2] = s[len/2];
^
0_0_22464345_20824.cpp:106:16: error: 'a' was not declared in this scope
sub(a,b,s);
^
0_0_22464345_20824.cpp:106:18: error: 'b' was not declared in this scope
sub(a,b,s);
^
0_0_22464345_20824.cpp:122:19: error: 'maxn' was not declared in this scope
char a[maxn],b[maxn];
^
0_0_22464345_20824.cpp:124:13: error: 'a' was not declared in this scope
a[++cnt] = s[i];
^
0_0_22464345_20824.cpp:127:13: error: 'b' was not declared in this scope
b[++cnt] = s[i];
^
0_0_22464345_20824.cpp:132:13: error: 'ans' was not declared in this scope
ans[tt][++tmp] = s[i];
^
0_0_22464345_20824.cpp:133:12: error: 'ans' was not declared in this scope
ans[tt][len/2] = s[len/2];
^
0_0_22464345_20824.cpp:138:16: error: 'a' was not declared in this scope
sub(a,b,s);
^
0_0_22464345_20824.cpp:138:18: error: 'b' was not declared in this scope
sub(a,b,s);
^
0_0_22464345_20824.cpp:148:13: error: too few arguments to function 'void sub(char*, char*)'
sub();
^
0_0_22464345_20824.cpp:36:6: note: declared here
void sub(char *a,char *b)
^
|