foo.cc: In function 'void solve()':
foo.cc:33:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
33 | scanf("%d%d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~
foo.cc:35:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
35 | scanf("%s", mp[i]);
| ~~~~~^~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:56:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
56 | if (multi) scanf("%d", &_);
| ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务