Compiler output
prog.cpp: In function 'void rec(int)':
prog.cpp:14:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(poz==s[ind].size())sem=1;
^
prog.cpp:17:29: warning: array subscript has type 'char' [-Wchar-subscripts]
for(auto i:v[s[ind][poz]])
^
prog.cpp:20:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<i.size();++j)
^
prog.cpp: In function 'int main()':
prog.cpp:34:18: warning: array subscript has type 'char' [-Wchar-subscripts]
v[s[i][0]].pb(s[i]);
^