/in/foo.c: In function 'main':
/in/foo.c:27:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
scanf("%d%d",&p,&q);
^
/in/foo.c:27:12: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
scanf("%d%d",&p,&q);
^
/in/foo.c:31:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
for(i=0;a[i][0]!=0;i++) printf("%d %d %d\n",a[i][0],a[i][1],a[i][2]);
^
/in/foo.c:31:39: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
for(i=0;a[i][0]!=0;i++) printf("%d %d %d\n",a[i][0],a[i][1],a[i][2]);
^
/in/foo.c:31:42: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
for(i=0;a[i][0]!=0;i++) printf("%d %d %d\n",a[i][0],a[i][1],a[i][2]);
^