/in/foo.cc: In function 'bool containJudge(std::string, std::string, int)':
/in/foo.cc:12:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for (int i = index; i < a.length() && i < index + b.length(); i++) {
| ~~^~~~~~~~~~~~
/in/foo.cc:12:45: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for (int i = index; i < a.length() && i < index + b.length(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:28:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | for (int i = 0; i <= a.length()-b.length();) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~