tickets.cpp: In function 'long long int find_maximum(int, std::vector<std::vector<int> >)':
tickets.cpp:28:8: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
28 | auto [w, u, v] = pq.top();
| ^
tickets.cpp:55:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::array<long long int, 3>, std::allocator<std::array<long long int, 3> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | while (a < X[i][0].size() && b < X[i][1].size()) {
| ~~^~~~~~~~~~~~~~~~
tickets.cpp:55:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::array<long long int, 3>, std::allocator<std::array<long long int, 3> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | while (a < X[i][0].size() && b < X[i][1].size()) {
| ~~^~~~~~~~~~~~~~~~
tickets.cpp:56:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::array<long long int, 3>, std::allocator<std::array<long long int, 3> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
56 | if (a < X[i][0].size()) {
| ~~^~~~~~~~~~~~~~~~
tickets.cpp:62:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::array<long long int, 3>, std::allocator<std::array<long long int, 3> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | if (b < X[i][1].size()) {
| ~~^~~~~~~~~~~~~~~~
tickets.cpp:74:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
74 | for (auto [y, x, v] : X[i][j]) {
| ^