foo.cc: In function 'int main()':
foo.cc:45:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
45 | scanf("%d %d %d",&n,&r,&q);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:48:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
48 | scanf("%d",&a[i].sc);
| ~~~~~^~~~~~~~~~~~~~~
foo.cc:52:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
52 | scanf("%d",&a[i].en);
| ~~~~~^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务