foo.cc: In function 'int main()':
foo.cc:35:48: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; i++) scanf("%d", &r[i]);
^
foo.cc:36:74: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= m; i++) scanf("%d%d%d", &a[i].num, &a[i].s, &a[i].t);
^
自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-03-29T14:56:38.768Z","handle":"2020-03-29T14:56:38.768Z","cache_start":"2020-03-29T14:56:38.775Z","read_cases":"2020-03-29T14:56:38.889Z","judge":"2020-03-29T14:56:38.892Z","done":"2020-03-29T14:56:44.681Z"}