Compiler output
prog.cpp: In function 'int main()':
prog.cpp:26:17: warning: array subscript has type 'char' [-Wchar-subscripts]
cin>>c[C];
^
prog.cpp:34:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<s.size();j++)
^
prog.cpp:36:34: warning: array subscript has type 'char' [-Wchar-subscripts]
for (int k=0;k<c[s[j]].size();k++)
^
prog.cpp:36:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k=0;k<c[s[j]].size();k++)
^
prog.cpp:37:37: warning: array subscript has type 'char' [-Wchar-subscripts]
cuv.push_back(c[s[j]][k]);
^