Runtime Error
/in/foo.cc: In function 'int main()': /in/foo.cc:30:23: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=] printf("%lld\n", ans); ^
/in/foo.cc: In function 'int main()': /in/foo.cc:30:23: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=] printf("%lld\n", ans); ^