hiring.cpp: In function 'int main()':
hiring.cpp:62:19: warning: comparison of integer expressions of different signedness: 'std::priority_queue<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
62 | if (fila.size() > ans || (fila.size() == ans && soma_s < ans_soma))
| ~~~~~~~~~~~~^~~~~
hiring.cpp:62:41: warning: comparison of integer expressions of different signedness: 'std::priority_queue<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
62 | if (fila.size() > ans || (fila.size() == ans && soma_s < ans_soma))
| ~~~~~~~~~~~~^~~~~~
In file included from /usr/include/c++/9/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:33,
from hiring.cpp:1:
hiring.cpp:80:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
80 | assert(ans == V.size());
| ~~~~^~~~~~~~~~~
hiring.cpp:28:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
28 | scanf("%d %lld", &n, &w);
| ~~~~~^~~~~~~~~~~~~~~~~~~
hiring.cpp:32:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
32 | scanf("%d %d", &a[i].s, &a[i].q);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~