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-23T10:10:27.499Z","handle":"2020-03-23T10:10:27.500Z","cache_start":"2020-03-23T10:10:27.529Z","read_cases":"2020-03-23T10:10:27.638Z","judge":"2020-03-23T10:10:27.646Z","done":"2020-03-23T10:10:30.963Z"}