foo.cc: In function 'int main()':
foo.cc:42:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m); scanf("%c",&ch);
^
foo.cc:42:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m); scanf("%c",&ch);
^
foo.cc:44:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c%d",&ch,&in);
^
foo.cc:48:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
if(i!=m) scanf("%c",&ch);
^
自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-03-24T12:38:23.650Z","handle":"2020-03-24T12:38:23.650Z","cache_start":"2020-03-24T12:38:23.684Z","read_cases":"2020-03-24T12:38:23.790Z","judge":"2020-03-24T12:38:23.792Z","done":"2020-03-24T12:38:25.246Z"}