/in/foo.cc:7:15: warning: overflow in implicit constant conversion [-Woverflow]
const int inf=0x7f7f7f7f7f;
^~~~~~~~~~~~
/in/foo.cc: In function 'int getans(int, int)':
/in/foo.cc:29:19: 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:62:30: warning: array subscript has type 'char' [-Wchar-subscripts]
int add=ad[a[m-1]][k]+ad[b[m-1]][k];
^
/in/foo.cc:62:44: warning: array subscript has type 'char' [-Wchar-subscripts]
int add=ad[a[m-1]][k]+ad[b[m-1]][k];
^
/in/foo.cc:63:30: warning: array subscript has type 'char' [-Wchar-subscripts]
int del=de[a[m-1]][k]+de[b[m-1]][k];
^
/in/foo.cc:63:44: warning: array subscript has type 'char' [-Wchar-subscripts]
int del=de[a[m-1]][k]+de[b[m-1]][k];
^