foo.cc: In function 'void chai(std::string&, std::vector<std::__cxx11::basic_string<char> >&)':
foo.cc:49:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | for( ;j<v1.size()-1;j++)
| ~^~~~~~~~~~~~
foo.cc: In function 'void chaiOneWord(std::string)':
foo.cc:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
61 | for(int i=0;i<str.size()-1;i++)
| ~^~~~~~~~~~~~~
foo.cc: In function 'int main(int, char**)':
foo.cc:77:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | for(int i=0;i<str.size();i++)
| ~^~~~~~~~~~~
foo.cc:86:15: 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]
86 | for(int i=0;i<v2.size();i++)
| ~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务