foo.cc: In function 'void init()':
foo.cc:30:21: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[111]' [-Wformat=]
30 | scanf("%s",&st[i]+1);
| ~^ ~~~~~~~~
| | |
| char* char (*)[111]
foo.cc:26:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
26 | scanf("%d%d",&n,&m);
| ~~~~~^~~~~~~~~~~~~~
foo.cc:30:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
30 | scanf("%s",&st[i]+1);
| ~~~~~^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务