foo.cc: In function 'int main()':
foo.cc:12:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&q);
~~~~~^~~~~~~~~~~~~~
foo.cc:13:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++)scanf("%d",&a[i]);
~~~~~^~~~~~~~~~~~
foo.cc:36:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
~~~~~^~~~~~~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-08-13T11:06:29.689Z","handle":"2020-08-13T11:06:29.689Z","cache_start":"2020-08-13T11:06:29.697Z","read_cases":"2020-08-13T11:06:29.803Z","judge":"2020-08-13T11:06:29.804Z","done":"2020-08-13T11:06:30.381Z"}