tickets.cpp: In function 'long long int find_maximum(int, std::vector<std::vector<int> >)':
tickets.cpp:8:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
8 | for(int i = 0;i < s.size();i++) s[i].resize(x[0].size(), -1);
| ~~^~~~~~~~~~
tickets.cpp:13:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for(int i = 0;i < x.size();i++){
| ~~^~~~~~~~~~
tickets.cpp:20:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for(int i = 0;i < k*x.size()/2;i++){
| ~~^~~~~~~~~~~~~~
tickets.cpp:31:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for(int i = 0;i < x.size();i++) v.push_back({cnt1[i], cnt2[i]});
| ~~^~~~~~~~~~
tickets.cpp:35:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for(int j = 0;j < x.size();j++) q.push({{v[j].first, v[j].second}, j});
| ~~^~~~~~~~~~
tickets.cpp:36:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for(int j = 0;j < x.size()/2;j++){
| ~~^~~~~~~~~~~~
tickets.cpp:41:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | for(int j = 0;j < x.size()/2;j++){
| ~~^~~~~~~~~~~~