/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:10:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<t[x].size(); i++)
~^~~~~~~~~~~~
/in/foo.cc: In function 'int hsh(int)':
/in/foo.cc:22:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<t[x].size(); i++)
~^~~~~~~~~~~~
/in/foo.cc:30:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<h.size(); i++) ansx += (h[i]+1)*(i+1);
~^~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:67:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0; j<cnt[i].size()-1; j++) cout<<cnt[i][j]<<"=";
~^~~~~~~~~~~~~~~~