holiday.cpp: In function 'll findMaxAttraction(int, int, int, int*)':
holiday.cpp:14:29: warning: comparison of integer expressions of different signedness: 'std::priority_queue<long long int, std::vector<long long int>, std::greater<long long int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
14 | while(pq.size() > d - i) {
| ~~~~~~~~~~^~~~~~~
holiday.cpp:35:29: warning: comparison of integer expressions of different signedness: 'std::priority_queue<long long int, std::vector<long long int>, std::greater<long long int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
35 | while(pq.size() > d - (start - i)) {
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~
holiday.cpp:51:29: warning: comparison of integer expressions of different signedness: 'std::priority_queue<long long int, std::vector<long long int>, std::greater<long long int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
51 | while(pq.size() > d - (i - start)) {
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~
holiday.cpp:73:33: warning: comparison of integer expressions of different signedness: 'std::priority_queue<long long int, std::vector<long long int>, std::greater<long long int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
73 | while(pq.size() > d - 2 * min(j - start, start - i) - max(j - start, start - i)) {
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~