Time Exceeded
/in/foo.cc: In function 'int main()': /in/foo.cc:30: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: In function 'int main()': /in/foo.cc:30:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d\n",ans); ^