foo.cc: In function 'int Count(std::vector<Loc>&, std::vector<std::__cxx11::basic_string<char> >&)':
foo.cc:39:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Loc>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
39 | for(int i=0;i<v.size();i++)
| ~^~~~~~~~~
foo.cc:40:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Loc>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for(int j=0;j<nlac.size();j++)
| ~^~~~~~~~~~~~
foo.cc: In function 'std::vector<Loc> Necklaces(std::vector<std::__cxx11::basic_string<char> >&)':
foo.cc:54:22: 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]
54 | for(int i=0;i<M.size();i++)
| ~^~~~~~~~~
foo.cc:55:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | for(int j=0;j<M[i].size();j++)
| ~^~~~~~~~~~~~
foo.cc: In function 'bool Search(std::vector<Loc>&, int, int)':
foo.cc:67:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Loc>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
67 | for(int i=0;i<v.size();i++)
| ~^~~~~~~~~
foo.cc: In function 'void Output(std::vector<Loc>&)':
foo.cc:75:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Loc>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | for(int i=0;i<v.size();i++)
| ~^~~~~~~~~
foo.cc: In function 'void Output(std::vector<std::__cxx11::basic_string<char> >&)':
foo.cc:82:22: 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]
82 | for(int i=0;i<M.size();i++)
| ~^~~~~~~~~
foo.cc:84:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
84 | for(int j=0;j<M[i].size();j++)
| ~^~~~~~~~~~~~
foo.cc: In function 'void Solve(std::vector<std::__cxx11::basic_string<char> >&, int, int, int, int, std::vector<Loc>&)':
foo.cc:99:32: warning: comparison of integer expressions of different signedness: 'std::vector<Loc>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
99 | if(Path.size() > sl)
| ~~~~~~~~~~~~^~~~
foo.cc:104:32: warning: comparison of integer expressions of different signedness: 'std::vector<Loc>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
104 | if(Path.size() < sd)
| ~~~~~~~~~~~~^~~~
[Hydro](https://hydro.ac)提供评测服务