foo.cc: In function 'int main()':
foo.cc:19:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
~~~~~^~~~~~~~~
foo.cc:21:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
~~~~~^~~~~~~~~~
foo.cc:22:43: 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", &a[i]);
~~~~~^~~~~~~~~~~~~
foo.cc:23:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
~~~~~^~~~~~~~~~
foo.cc:24:43: 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", &b[i]);
~~~~~^~~~~~~~~~~~~
自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-05-28T15:35:36.215Z","handle":"2020-05-28T15:35:36.215Z","cache_start":"2020-05-28T15:35:36.222Z","read_cases":"2020-05-28T15:35:36.376Z","judge":"2020-05-28T15:35:36.378Z","done":"2020-05-28T15:35:37.094Z"}