foo.cc: In function 'int main()':
foo.cc:39:48: 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 (c[i].name.find("reioxzsj") != -1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
foo.cc:40:54: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
40 | while (c[i].name.find("woc") != -1) {
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~
foo.cc:44:49: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | for (long long j = 0; j < c[i].name.size(); j++) {
| ~~^~~~~~~~~~~~~~~~~~
foo.cc:52:53: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
52 | while (c[i].name.find("pr") != -1) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~
[Hydro](https://hydro.ac)提供评测服务