foo.cc: In function 'bool Judge1(int, int, int, int, std::string)':
foo.cc:9:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | for(int i=0;i<t.length();i++)
| ~^~~~~~~~~~~
foo.cc:14:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | for(int j=i;j<t.length();j++)
| ~^~~~~~~~~~~
foo.cc:21:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for(int j=i;j<t.length();j++)
| ~^~~~~~~~~~~
foo.cc:28:1: warning: control reaches end of non-void function [-Wreturn-type]
28 | }
| ^
[Hydro](https://hydro.ac)提供评测服务