foo.cc: In function 'int main()':
foo.cc:23:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
~~~~~^~~~~~~~~
foo.cc:24:32: 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:26:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&lc[i],&rc[i]);
~~~~~^~~~~~~~~~~~~~~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-08-10T00:15:55.421Z","handle":"2020-08-10T00:15:55.421Z","cache_start":"2020-08-10T00:15:55.430Z","read_cases":"2020-08-10T00:15:55.553Z","judge":"2020-08-10T00:15:55.555Z","done":"2020-08-10T00:15:59.007Z"}