school.cpp: In function 'int main()':
school.cpp:23:25: warning: comparison of integer expressions of different signedness: 'std::priority_queue<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
23 | while(pq.size() > t[0]) pfx[i] += pq.top(), pq.pop();
| ~~~~~~~~~~^~~~~~
school.cpp:31:25: warning: comparison of integer expressions of different signedness: 'std::priority_queue<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
31 | while(pq.size() > t[1]) sfx += pq.top(), pq.pop();
| ~~~~~~~~~~^~~~~~
school.cpp:33:22: warning: comparison of integer expressions of different signedness: 'std::priority_queue<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
33 | if(pq.size() == t[1] && i - 1 >= t[1]) r = max(r, sfx + pfx[i - 1]);
| ~~~~~~~~~~^~~~~~~