tabletennis.cpp: In function 'int32_t main()':
tabletennis.cpp:41:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | for(int j=0;j<sums.size();j++){
| ~^~~~~~~~~~~~
tabletennis.cpp:49:33: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
49 | if(pos[j].size()>=n/2){
| ~~~~~~~~~~~~~^~~~~
tabletennis.cpp:65:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::vector<std::pair<long long int, long long int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
65 | for(int i=0;i<pos.size();i++)
| ~^~~~~~~~~~~
tabletennis.cpp:70:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
70 | for(int i=0;i<pos[mxi].size()&&i<n/2;i++){
| ~^~~~~~~~~~~~~~~~
tabletennis.cpp:75:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | for(int i=0;i<ans.size();i++)
| ~^~~~~~~~~~~
tabletennis.cpp:40:9: warning: variable 'f' set but not used [-Wunused-but-set-variable]
40 | int f=0;
| ^