factories.cpp: In function 'int dfssize(int, int)':
factories.cpp:13:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[s].size();i++) if(g[s][i]!=f && !vc[g[s][i]]) x+=dfssize(g[s][i],s);
~^~~~~~~~~~~~
factories.cpp: In function 'int dfsc(int, int)':
factories.cpp:20:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[s].size();i++) if(g[s][i]!=f && !vc[g[s][i]])
~^~~~~~~~~~~~
factories.cpp: In function 'void dfst(int, int)':
factories.cpp:33:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<gt[s].size();i++) dfst(gt[s][i]);
~^~~~~~~~~~~~~
factories.cpp:33:47: error: too few arguments to function 'void dfst(int, int)'
for(int i=0;i<gt[s].size();i++) dfst(gt[s][i]);
^
factories.cpp:30:6: note: declared here
void dfst(int s,int dub)
^~~~
factories.cpp: In function 'void dfs(int, int, long long int, int)':
factories.cpp:40:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[s].size();i++) if(g[s][i]!=f) dfs(g[s][i],s,dist+c[s][i],po);
~^~~~~~~~~~~~
factories.cpp: In function 'void centrodecomp(int, int)':
factories.cpp:49:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[tmp].size();i++) if(!vc[g[tmp][i]]) centrodecomp(g[tmp][i],tmp);
~^~~~~~~~~~~~~~
factories.cpp: In function 'void Init(int, int*, int*, int*)':
factories.cpp:58:11: error: too few arguments to function 'void dfst(int, int)'
dfst(root);
^
factories.cpp:30:6: note: declared here
void dfst(int s,int dub)
^~~~