/in/foo.cc: In function 'void print(int)':
/in/foo.cc:81:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(sr[++C]=z[Z],--Z);sr[++C]='\n';
^~~~~
/in/foo.cc:81:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
while(sr[++C]=z[Z],--Z);sr[++C]='\n';
^~
/in/foo.cc: In function 'int getans(int, int)':
/in/foo.cc:125:16: warning: unused variable 'l' [-Wunused-variable]
int ans=inf,k,l=0,maxk=min(i,j);
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:153:21: warning: array subscript has type 'char' [-Wchar-subscripts]
int add=ad[a[m-1]][k]+ad[b[m-1]][k];
^
/in/foo.cc:153:35: warning: array subscript has type 'char' [-Wchar-subscripts]
int add=ad[a[m-1]][k]+ad[b[m-1]][k];
^
/in/foo.cc:154:21: warning: array subscript has type 'char' [-Wchar-subscripts]
int del=de[a[m-1]][k]+de[b[m-1]][k];
^
/in/foo.cc:154:35: warning: array subscript has type 'char' [-Wchar-subscripts]
int del=de[a[m-1]][k]+de[b[m-1]][k];
^
/in/foo.cc:159:7: error: 'i' was not declared in this scope
for (i=0;i<505;i++)
^
/in/foo.cc:137:6: warning: unused variable 'm' [-Wunused-variable]
int m;
^