foo.cc: In function 'int shen(int, int, int)':
foo.cc:35:1: warning: control reaches end of non-void function [-Wreturn-type]
35 | }
| ^
foo.cc: In function 'int main()':
foo.cc:56:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
56 | scanf("%d %d %d",&n,&m,&w);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:60:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
60 | scanf("%s",line);
| ~~~~~^~~~~~~~~~~
foo.cc:69:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
69 | scanf("%s",word);
| ~~~~~^~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务