feast.cpp: In function 'int main()':
feast.cpp:31:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for(int i =0;i<arr.size();i++){
| ~^~~~~~~~~~~
feast.cpp:34:26: warning: comparison of integer expressions of different signedness: 'std::multiset<long long int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
34 | while(topk.size()>k){
| ~~~~~~~~~~~^~
feast.cpp:43:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | for(int i = 0;i<arr.size();i++){
| ~^~~~~~~~~~~
feast.cpp:48:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | if(minind==0||minind==arr.size()-1){
| ~~~~~~^~~~~~~~~~~~~~
feast.cpp:52:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | if(minind!=arr.size()-1){
| ~~~~~~^~~~~~~~~~~~~~