cezar.cpp: In function 'void dfs(int, int)':
cezar.cpp:15:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < g[v].size(); i++){
~~^~~~~~~~~~~~~
cezar.cpp: In function 'int main()':
cezar.cpp:40:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( j < ordenado[i].size() &&
~~^~~~~~~~~~~~~~~~~~~~
cezar.cpp:41:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
j < ordenado[i-1].size() &&
~~^~~~~~~~~~~~~~~~~~~~~~
cezar.cpp:44:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( j < ordenado[i].size() && j < ordenado[i-1].size()){
~~^~~~~~~~~~~~~~~~~~~~
cezar.cpp:44:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( j < ordenado[i].size() && j < ordenado[i-1].size()){
~~^~~~~~~~~~~~~~~~~~~~~~
cezar.cpp:45:23: warning: array subscript has type 'char' [-Wchar-subscripts]
g[ordenado[i][j]].push_back(ordenado[i-1][j]);
^
cezar.cpp:47:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
}else if( j == ordenado[i].size() && j < ordenado[i-1].size()){
~~^~~~~~~~~~~~~~~~~~~~~
cezar.cpp:47:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
}else if( j == ordenado[i].size() && j < ordenado[i-1].size()){
~~^~~~~~~~~~~~~~~~~~~~~~