foo.cc: In function 'int main()':
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);
~~ ^
foo.cc:9:33: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
foo.cc:9:33: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short int*' [-Wformat=]
foo.cc:9:33: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'short int*' [-Wformat=]
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]);
~~~~~~~~^
foo.cc:9:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&n,&m,&r,&c);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:14:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=0;i<n;i++) for(j=0;j<m;j++) scanf("%d",&v[i][j]);
~~~~~^~~~~~~~~~~~~~~
自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-05-28T09:53:05.219Z","handle":"2020-05-28T09:53:05.219Z","cache_start":"2020-05-28T09:53:05.226Z","read_cases":"2020-05-28T09:53:05.343Z","judge":"2020-05-28T09:53:05.343Z","done":"2020-05-28T09:53:09.230Z"}