foo.cc: In function 'int main()':
foo.cc:7:41: warning: too many arguments for format [-Wformat-extra-args]
int n, first; scanf("%d", &n, &first);
^
foo.cc:7: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:10: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-23T07:03:49.082Z","handle":"2020-03-23T07:03:49.082Z","cache_start":"2020-03-23T07:03:49.090Z","read_cases":"2020-03-23T07:03:49.206Z","judge":"2020-03-23T07:03:49.207Z","done":"2020-03-23T07:03:51.911Z"}