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", &m, &n);
| ~~~~~^~~~~~~~~~~~~~~~
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:57:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
57 | if (multi) scanf("%d", &_);
| ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务