foo.cc: In function ‘bool compare(ll, ll, ll, ll)’:
foo.cc:59:21: warning: comparison of integer expressions of different signedness: ‘ll’ {aka ‘int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
59 | for(ll i=0;i<f[xi][xj].size();i++)
| ~^~~~~~~~~~~~~~~~~
foo.cc:64:21: warning: comparison of integer expressions of different signedness: ‘ll’ {aka ‘int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
64 | for(ll i=0;i<f[yi][yj].size();i++)
| ~^~~~~~~~~~~~~~~~~
foo.cc: In function ‘std::string turn(ll, ll)’:
foo.cc:76:21: warning: comparison of integer expressions of different signedness: ‘ll’ {aka ‘int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
76 | for(ll i=0;i<f[xi][xj].size();i++)
| ~^~~~~~~~~~~~~~~~~
foo.cc: In function ‘int main()’:
foo.cc:117:21: warning: comparison of integer expressions of different signedness: ‘ll’ {aka ‘int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
117 | for(ll j=0;j<q[1].size();j++)
| ~^~~~~~~~~~~~
foo.cc:130:29: warning: comparison of integer expressions of different signedness: ‘ll’ {aka ‘int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
130 | for(ll j=0;j<q[i].size();j++)
| ~^~~~~~~~~~~~
foo.cc:145:90: warning: comparison of integer expressions of different signedness: ‘ll’ {aka ‘int’} and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
145 | if(dp[q[i][j]][u]>dp[q[i][j]-powx[u-1]][k]+d[k][u].size())//由k到u
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:152:98: warning: comparison of integer expressions of different signedness: ‘ll’ {aka ‘int’} and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
152 | if(dp[q[i][j]][u]==dp[q[i][j]-powx[u-1]][k]+d[k][u].size()&&compare(q[i][j],u,q[i][j]-powx[u-1],k)==1)
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~