prize.cpp: In function 'int find_best(int)':
prize.cpp:44:15: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::set<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | if (ans[1] < numBetter-candidates.size()) {
prize.cpp:57:25: warning: comparison of integer expressions of different signedness: 'std::set<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
57 | if (candidates.size() == numBetter) break;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
prize.cpp:32:6: warning: unused variable 'oldL' [-Wunused-variable]
32 | int oldL=-1, oldR=-1;
| ^~~~
prize.cpp:32:15: warning: unused variable 'oldR' [-Wunused-variable]
32 | int oldL=-1, oldR=-1;
| ^~~~