foo.cc: In function 'void init()':
foo.cc:30:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
30 | scanf("%d%d%s",&x,&y,c);
| ~~~~~^~~~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:122:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
122 | scanf("%lld",&n);
| ~~~~~^~~~~~~~~~~
foo.cc:123:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
123 | scanf("%d",&m);
| ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务