hiring.cpp: In function 'void round(int)':
hiring.cpp:40:19: warning: comparison of integer expressions of different signedness: 'std::priority_queue<worker, std::vector<worker>, comp2>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
40 | if (pq.size() > total || (pq.size()==total && (t*pq.top().s)/((double)pq.top().q) < cost+EPS)) {
| ~~~~~~~~~~^~~~~~~
hiring.cpp:40:40: warning: comparison of integer expressions of different signedness: 'std::priority_queue<worker, std::vector<worker>, comp2>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
40 | if (pq.size() > total || (pq.size()==total && (t*pq.top().s)/((double)pq.top().q) < cost+EPS)) {
| ~~~~~~~~~^~~~~~~
hiring.cpp: In function 'int main()':
hiring.cpp:49:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
49 | scanf("%d%lld", &n, &w);
| ~~~~~^~~~~~~~~~~~~~~~~~
hiring.cpp:51:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
51 | scanf("%d%d", &s, &q);
| ~~~~~^~~~~~~~~~~~~~~~