/in/foo.cc: In function 'int main()':
/in/foo.cc:9:33: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
scanf("%d %d %d %d",&n,&m,&r,&c);
^
/in/foo.cc:9:33: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
/in/foo.cc:9:33: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short int*' [-Wformat=]
/in/foo.cc:9:33: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'short int*' [-Wformat=]
/in/foo.cc:14:55: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
for(i=0;i<n;i++) for(j=0;j<m;j++) scanf("%d",&v[i][j]);
^
/in/foo.cc:53:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d",min);
^