/in/foo.cc: In function 'int main()':
/in/foo.cc:7:31: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[101]' [-Wformat=]
scanf("%s%s%s",&l1,&l2,&l3);
~~~ ^
/in/foo.cc:7:31: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[101]' [-Wformat=]
/in/foo.cc:7:31: warning: format '%s' expects argument of type 'char*', but argument 4 has type 'char (*)[101]' [-Wformat=]
/in/foo.cc:8:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(l1);i++){
~^~~~~~~~~~~
/in/foo.cc:9:27: warning: array subscript has type 'char' [-Wchar-subscripts]
if(l2[i]!=mi[l1[i]]&&mi[l1[i]]!=0){
^
/in/foo.cc:9:38: warning: array subscript has type 'char' [-Wchar-subscripts]
if(l2[i]!=mi[l1[i]]&&mi[l1[i]]!=0){
^
/in/foo.cc:13:17: warning: array subscript has type 'char' [-Wchar-subscripts]
mi[l1[i]]=l2[i];
^
/in/foo.cc:20:16: warning: array subscript has type 'char' [-Wchar-subscripts]
a[mi[i]]=0;
^
/in/foo.cc:28:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(l3);i++){
~^~~~~~~~~~~
/in/foo.cc:29:23: warning: array subscript has type 'char' [-Wchar-subscripts]
l4[i]=mi[l3[i]];
^