foo.cc: In function 'int main(int, const char**)':
foo.cc:22:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &b);
^
foo.cc:24:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
foo.cc:27:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-05-11T16:35:56.334Z","handle":"2020-05-11T16:35:56.334Z","cache_start":"2020-05-11T16:35:56.342Z","read_cases":"2020-05-11T16:35:56.874Z","judge":"2020-05-11T16:35:56.875Z","done":"2020-05-11T16:35:58.444Z"}