/in/foo.cc: In function 'void dfs(int)':
/in/foo.cc:57:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<Q1[x].size();i++) t1[dep[Q1[x][i]]]--;
~^~~~~~~~~~~~~
/in/foo.cc: In function 'void Dfs(int)':
/in/foo.cc:62:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<Q2[x].size();i++) t2[Q2[x][i]+300000]++;
~^~~~~~~~~~~~~
/in/foo.cc:64:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<Q3[x].size();i++) t2[Q3[x][i]+300000]--;
~^~~~~~~~~~~~~
/in/foo.cc: In function 'void dfs(int)':
/in/foo.cc:56:50: warning: 'cun' may be used uninitialized in this function [-Wmaybe-uninitialized]
t1[dep[x]]+=val[x];if(now<=mxdep) ans[x]=t1[now]-cun;
~~~~~~~^~~~
/in/foo.cc:56:50: warning: 'cun' may be used uninitialized in this function [-Wmaybe-uninitialized]
t1[dep[x]]+=val[x];if(now<=mxdep) ans[x]=t1[now]-cun;
~~~~~~~^~~~
/in/foo.cc:56:50: warning: 'cun' may be used uninitialized in this function [-Wmaybe-uninitialized]
t1[dep[x]]+=val[x];if(now<=mxdep) ans[x]=t1[now]-cun;
~~~~~~~^~~~
/in/foo.cc:56:50: warning: 'cun' may be used uninitialized in this function [-Wmaybe-uninitialized]
t1[dep[x]]+=val[x];if(now<=mxdep) ans[x]=t1[now]-cun;
~~~~~~~^~~~
/in/foo.cc:56:50: warning: 'cun' may be used uninitialized in this function [-Wmaybe-uninitialized]
t1[dep[x]]+=val[x];if(now<=mxdep) ans[x]=t1[now]-cun;
~~~~~~~^~~~