/in/foo.cc: In function 'int cmp(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:19:12: warning: array subscript has type 'char' [-Wchar-subscripts]
if (a[a1[i]]!=a[a2[i]]) return a[a1[i]]<a[a2[i]];
^
/in/foo.cc:19:22: warning: array subscript has type 'char' [-Wchar-subscripts]
if (a[a1[i]]!=a[a2[i]]) return a[a1[i]]<a[a2[i]];
^
/in/foo.cc:19:39: warning: array subscript has type 'char' [-Wchar-subscripts]
if (a[a1[i]]!=a[a2[i]]) return a[a1[i]]<a[a2[i]];
^
/in/foo.cc:19:48: warning: array subscript has type 'char' [-Wchar-subscripts]
if (a[a1[i]]!=a[a2[i]]) return a[a1[i]]<a[a2[i]];
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:25:30: warning: array subscript has type 'char' [-Wchar-subscripts]
for (int i=0;i<26;i++) a[b[i]]=i;
^