prize.cpp: In function 'int find_best(int)':
prize.cpp:49: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]
49 | if (ans[1] < numBetter-candidates.size()) {
prize.cpp:62:25: warning: comparison of integer expressions of different signedness: 'std::set<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
62 | if (candidates.size() == numBetter) break;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
prize.cpp:37:6: warning: unused variable 'oldL' [-Wunused-variable]
37 | int oldL=-1, oldR=-1;
| ^~~~
prize.cpp:37:15: warning: unused variable 'oldR' [-Wunused-variable]
37 | int oldL=-1, oldR=-1;
| ^~~~