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