/in/foo.cc: In function 'int main()':
/in/foo.cc:12:33: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
while(scanf("%s%I64d",s+1,&m)!=EOF){
^
/in/foo.cc:19:33: warning: overflow in implicit constant conversion [-Woverflow]
memset(dp,INF,sizeof(dp));
^
/in/foo.cc:43:63: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%I64d %I64d %I64d %I64d\n",sum1,ans1,sum2,ans2);
^
/in/foo.cc:43:63: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
/in/foo.cc:43:63: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
/in/foo.cc:43:63: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long int' [-Wformat=]
/in/foo.cc:43:64: warning: 'sum2' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%I64d %I64d %I64d %I64d\n",sum1,ans1,sum2,ans2);
^
/in/foo.cc:43:64: warning: 'ans2' may be used uninitialized in this function [-Wmaybe-uninitialized]
/in/foo.cc:43:64: warning: 'sum1' may be used uninitialized in this function [-Wmaybe-uninitialized]
/in/foo.cc:43:64: warning: 'ans1' may be used uninitialized in this function [-Wmaybe-uninitialized]