foo.cc: In function 'int shen(int, int, int)':
foo.cc:35:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
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]
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]
scanf("%s",line);
~~~~~^~~~~~~~~~~
foo.cc:69:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",word);
~~~~~^~~~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。