Compiler output
prog.cpp: In function 'int cupleaza(int)':
prog.cpp:19:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v[nod].size (); ++i)
^
prog.cpp:32:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v[nod].size (); ++i)
^
prog.cpp: In function 'int main()':
prog.cpp:57:29: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[128]' [-Wformat=]
scanf ("%s", &str[i]);
^