foo.cc: In function 'int main()':
foo.cc:23:42: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
23 | while (s.find(scheck, p) != -1){
| ~~~~~~~~~~~~~~~~~~^~~~~
foo.cc:39:47: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
39 | if (sout.find(scheck) == -1)
| ~~~~~~~~~~~~~~~~~~^~~~~
[Hydro](https://hydro.ac)提供评测服务