Accepted
/in/foo.cc: In function 'int main()':
/in/foo.cc:8:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d %d",&a,&b);
~~ ^
/in/foo.cc:13:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
printf("%d %d\n",i,a);
^
/in/foo.cc:16:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
printf("%d %d",i,a);
^