foo.cc: In function 'int main()':
foo.cc:8:41: warning: too many arguments for format [-Wformat-extra-args]
int n, first; scanf("%d", &n, &first);
^
foo.cc:8:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int n, first; scanf("%d", &n, &first);
^
foo.cc:11:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &num[i]);
^
自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-03-23T09:59:28.504Z","handle":"2020-03-23T09:59:28.504Z","cache_start":"2020-03-23T09:59:28.543Z","read_cases":"2020-03-23T09:59:28.665Z","judge":"2020-03-23T09:59:28.669Z","done":"2020-03-23T09:59:32.602Z"}