hiring.cpp: In function 'int main()':
hiring.cpp:27:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for(int i = 0; i < ord.size(); i++){
| ~~^~~~~~~~~~~~
hiring.cpp:38:17: warning: comparison of integer expressions of different signedness: 'std::multiset<double>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
38 | if(aux.size() > ans) ans = aux.size(), cost = sum * s[cur] / q[cur], id = i;
| ~~~~~~~~~~~^~~~~
hiring.cpp:39:17: warning: comparison of integer expressions of different signedness: 'std::multiset<double>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
39 | if(aux.size() == ans && cost > sum * s[cur] / q[cur]) cost = sum * s[cur] / q[cur], id = i;
| ~~~~~~~~~~~^~~~~~
hiring.cpp:17:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
17 | scanf("%d %lf", &n, &w);
| ~~~~~^~~~~~~~~~~~~~~~~~
hiring.cpp:19:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
19 | scanf("%lf %lf", &s[i], &q[i]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~