foo.cc: In function 'int main()':
foo.cc:6:6: warning: unused variable 'tian' [-Wunused-variable]
int tian,d,n,x,y,l=0,sum=0,m1=0,m2=0,n1=1;
^~~~
foo.cc:6:19: warning: unused variable 'l' [-Wunused-variable]
int tian,d,n,x,y,l=0,sum=0,m1=0,m2=0,n1=1;
^
foo.cc:6:29: warning: unused variable 'm1' [-Wunused-variable]
int tian,d,n,x,y,l=0,sum=0,m1=0,m2=0,n1=1;
^~
foo.cc:6:34: warning: unused variable 'm2' [-Wunused-variable]
int tian,d,n,x,y,l=0,sum=0,m1=0,m2=0,n1=1;
^~
foo.cc:7:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&d);
~~~~~^~~~~~~~~
foo.cc:8:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
~~~~~^~~~~~~~~
foo.cc:10:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
~~~~~^~~~~~~~~~~~~~
foo.cc:11:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a1[x][y]);
~~~~~^~~~~~~~~~~~~~~~
自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-05-31T11:54:57.081Z","handle":"2020-05-31T11:54:57.081Z","cache_start":"2020-05-31T11:54:57.104Z","read_cases":"2020-05-31T11:54:57.297Z","judge":"2020-05-31T11:54:57.299Z","done":"2020-05-31T11:54:59.891Z"}