/in/foo.cc: In function 'int main()':
/in/foo.cc:65:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n",ans);
^
/in/foo.cc:42:19: warning: 't4' may be used uninitialized in this function [-Wmaybe-uninitialized]
int t1,t2,t3,t4;
^~
/in/foo.cc:42:16: warning: 't3' may be used uninitialized in this function [-Wmaybe-uninitialized]
int t1,t2,t3,t4;
^~
/in/foo.cc:42:13: warning: 't2' may be used uninitialized in this function [-Wmaybe-uninitialized]
int t1,t2,t3,t4;
^~
/in/foo.cc:42:10: warning: 't1' may be used uninitialized in this function [-Wmaybe-uninitialized]
int t1,t2,t3,t4;
^~