foo.cc: In function 'int main()':
foo.cc:31:8: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
31 | cin>>s+1>>t+1;
| ~^~
foo.cc:31:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
31 | cin>>s+1>>t+1;
| ~^~
foo.cc:30:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
30 | scanf("%d%d%d",&n,&m,&q);
| ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:35:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
35 | scanf("%d%d",&l,&r);
| ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务