/in/foo.cc: In function 'int main()':
/in/foo.cc:8:44: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
cout<<a<<"+"<<b<<" = ";printf("%ld\n",q);
^
/in/foo.cc:9:44: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
cout<<a<<"-"<<b<<" = ";printf("%ld\n",w);
^
/in/foo.cc:10:44: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
cout<<a<<"*"<<b<<" = ";printf("%ld\n",e);
^