foo.cc: In function 'int main()':
foo.cc:21:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
21 | scanf("%s",word);
| ~~~~~^~~~~~~~~~~
foo.cc: In function 'void init()':
foo.cc:66:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
66 | scanf("%d%d%d",&r,&c,&w);
| ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:68:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
68 | scanf("%s",s[i]);
| ~~~~~^~~~~~~~~~~
foo.cc: In function 'void find()':
foo.cc:60:7: warning: 'minj' may be used uninitialized in this function [-Wmaybe-uninitialized]
60 | printf("%d %d %c\n",mini+1,minj+1,d[mink]);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:60:7: warning: 'mini' may be used uninitialized in this function [-Wmaybe-uninitialized]
[Hydro](https://hydro.ac)提供评测服务