foo.cc: In function 'int main()':
foo.cc:16:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | for(int i=0;i<s.length();i++)
| ~^~~~~~~~~~~
foo.cc:21:18: 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 i=1;i<s.length();i++)
| ~^~~~~~~~~~~
foo.cc:44:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | for(int i=0;i<x.size();i++)
| ~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务