/in/foo.cc: In function 'int main()':
/in/foo.cc:11:18: warning: array subscript has type 'char' [-Wchar-subscripts]
if(list[str1[i]] && list[str1[i]]!=str2[i]) {printf("Failed"); return 0;}
^
/in/foo.cc:11:35: warning: array subscript has type 'char' [-Wchar-subscripts]
if(list[str1[i]] && list[str1[i]]!=str2[i]) {printf("Failed"); return 0;}
^
/in/foo.cc:12:19: warning: array subscript has type 'char' [-Wchar-subscripts]
if(!list[str1[i]]) ++cnt;
^
/in/foo.cc:13:15: warning: array subscript has type 'char' [-Wchar-subscripts]
list[str1[i]] = str2[i];
^
/in/foo.cc:19:25: warning: array subscript has type 'char' [-Wchar-subscripts]
str4[i] = list[str3[i]];
^