tournament.cpp: In function 'int GetBestPosition(int, int, int, int*, int*, int*)':
tournament.cpp:52:24: warning: comparison of integer expressions of different signedness: 'int' and '__gnu_pbds::detail::bin_search_tree_set<int, __gnu_pbds::null_type, std::less<int>, __gnu_pbds::detail::tree_traits<int, __gnu_pbds::null_type, std::less<int>, __gnu_pbds::tree_order_statistics_node_update, __gnu_pbds::rb_tree_tag, std::allocator<char> >, std::allocator<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | for(int j=S[i];S[i]+1<s1.size()&&*s1.find_by_order(S[i]+1)<= E[i];j++)s1.erase(s1.find_by_order(S[i]+1));
| ~~~~~~^~~~~~~~~~
tournament.cpp:53:24: warning: comparison of integer expressions of different signedness: 'int' and '__gnu_pbds::detail::bin_search_tree_set<int, __gnu_pbds::null_type, std::less<int>, __gnu_pbds::detail::tree_traits<int, __gnu_pbds::null_type, std::less<int>, __gnu_pbds::tree_order_statistics_node_update, __gnu_pbds::rb_tree_tag, std::allocator<char> >, std::allocator<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | for(int j=S[i];S[i]+0<s2.size()&&*s2.find_by_order(S[i]+0) < E[i];j++)s2.erase(s2.find_by_order(S[i]+0));
| ~~~~~~^~~~~~~~~~
tournament.cpp:63:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
63 | while(i < temp.size()){
| ~~^~~~~~~~~~~~~