/in/foo.cc: In function 'void dfs1(long long int)':
/in/foo.cc:14:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<G[s].size();i++){
~^~~~~~~~~~~~
/in/foo.cc: In function 'void dfs2(long long int)':
/in/foo.cc:22:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<G[s].size();i++){
~^~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:33:35: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
while(scanf("%I64d%I64d",&n,&m)!=EOF){
^
/in/foo.cc:33:35: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:41:46: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%I64d%I64d",&dp[i][1],&sum);
^
/in/foo.cc:41:46: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:43:33: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%I64d",&x);
^
/in/foo.cc:52:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%I64d\n",ans);
^