tickets.cpp: In function 'll get(std::vector<int>)':
tickets.cpp:40:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for(int i=0; i<v.size(); i++) t += abs(v[i] - v[v.size()/2]);
| ~^~~~~~~~~
tickets.cpp: In function 'std::tuple<long long int, std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > > > calc(std::vector<std::array<long long int, 2> >)':
tickets.cpp:48:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::array<long long int, 2> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | for(int i=0; i<v.size(); i++){
| ~^~~~~~~~~
tickets.cpp:56:14: warning: comparison of integer expressions of different signedness: 'std::set<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
56 | if(s.size()==n/2){
| ~~~~~~~~^~~~~
tickets.cpp: In function 'long long int find_maximum(int, std::vector<std::vector<int> >)':
tickets.cpp:33:20: warning: statement has no effect [-Wunused-value]
33 | #define debug(...) 0
| ^
tickets.cpp:84:2: note: in expansion of macro 'debug'
84 | debug(v);
| ^~~~~
tickets.cpp: In function 'std::tuple<long long int, std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > > > calc(std::vector<std::array<long long int, 2> >)':
tickets.cpp:45:52: warning: control reaches end of non-void function [-Wreturn-type]
45 | vector<std::vector<int>> ans(n, vector<int>(m, -1));
| ^