foo.cc: In function 'int main()':
foo.cc:37:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
37 | scanf("%d%d%d",&n,&m,&q);//输入字符串s的长度,字符串t的长度,询问次数
| ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:38:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
38 | scanf("%s",s+1);
| ~~~~~^~~~~~~~~~
foo.cc:39:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
39 | scanf("%s",t+1);
| ~~~~~^~~~~~~~~~
foo.cc:44:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
44 | scanf("%d%d",&l,&r);
| ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务