foo.cc: In function 'void init()':
foo.cc:19:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
foo.cc:21:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i].val), a[i].pos = i;
^
foo.cc:23:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &b[i].val), b[i].pos = i;
^
自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-03-29T14:54:01.826Z","handle":"2020-03-29T14:54:01.826Z","cache_start":"2020-03-29T14:54:01.834Z","read_cases":"2020-03-29T14:54:01.932Z","judge":"2020-03-29T14:54:01.933Z","done":"2020-03-29T14:54:03.124Z"}