foo.cc: In function 'int main()':
foo.cc:35:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
35 | scanf("%d",&t);
| ~~~~~^~~~~~~~~
foo.cc:39:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
39 | scanf("%d%d",&n,&k);
| ~~~~~^~~~~~~~~~~~~~
foo.cc:41:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
41 | scanf("%s",s[i]+1);
| ~~~~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务