/in/foo.cc: In function 'int main()':
/in/foo.cc:6:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d%d",&a,&b);
^
/in/foo.cc:6:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:8:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d+%d=%d\n",a,b,a+b);
^
/in/foo.cc:8:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
/in/foo.cc:8:29: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
/in/foo.cc:9:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d-%d=%d\n",a,b,a-b);
^
/in/foo.cc:9:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
/in/foo.cc:9:29: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
/in/foo.cc:10:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d*%d=%d\n",a,b,a*b);
^
/in/foo.cc:10:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
/in/foo.cc:10:29: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
/in/foo.cc:11:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d/%d=%.2f\n",a,b,c);
^
/in/foo.cc:11:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]