/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:55:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (!son[k]) return; dfs(son[k],tp);
^~
/in/foo.cc:55:23: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (!son[k]) return; dfs(son[k],tp);
^~~
/in/foo.cc: In function 'void dfs1(int)':
/in/foo.cc:81:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (reg int i=0;i<taglca[k].size();i++)
~^~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void dfs2(int)':
/in/foo.cc:92:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (reg int i=0;i<tagt[k].size();i++)
~^~~~~~~~~~~~~~~
/in/foo.cc:95:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (reg int i=0;i<taglca[k].size();i++)
~^~~~~~~~~~~~~~~~~