foo.cc: In function 'int main()':
foo.cc:54:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&r,&q);
~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:62:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",s+i);
~~~~~^~~~~~~~~~
foo.cc:66:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",w+i);
~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务