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