foo.cc: In function 'int main()':
foo.cc:38:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
38 | scanf("%d", &t);
| ~~~~~^~~~~~~~~~
foo.cc:40:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
40 | scanf("%d", &n);
| ~~~~~^~~~~~~~~~
foo.cc:42:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
42 | scanf("%d", &arr[i]);
| ~~~~~^~~~~~~~~~~~~~~
foo.cc:45:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
45 | scanf("%d", &target[i]);
| ~~~~~^~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务