tickets.cpp: In function 'long long int find_maximum(int, std::vector<std::vector<int> >)':
tickets.cpp:59:40: warning: comparison of integer expressions of different signedness: 'std::vector<name>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
59 | if(upper[q].size() + lower[q].size() != k) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
tickets.cpp:61:10: warning: unused variable 'x' [-Wunused-variable]
61 | int* x = new int[1000000];
| ^
tickets.cpp:69:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<name> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
69 | while(j < upper.size()) {
| ~~^~~~~~~~~~~~~~
tickets.cpp:70:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<name>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
70 | for(int q = 0;q < upper[j].size();q++) {
| ~~^~~~~~~~~~~~~~~~~
tickets.cpp:82:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<name> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
82 | while(j < lower.size()) {
| ~~^~~~~~~~~~~~~~
tickets.cpp:84:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<name>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
84 | for(int q = 0;q < lower[j].size();q++) {
| ~~^~~~~~~~~~~~~~~~~