jobs.cpp: In function 'int main()':
jobs.cpp:40:29: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
40 | while(h[head].size()>= s) head++;
| ~~~~~~~~~~~~~~^~~~
jobs.cpp:45:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | for (int j=0; j<h[i].size(); j++) {
| ~^~~~~~~~~~~~
jobs.cpp:24:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
24 | scanf("%d %d %d",&n,&d,&m);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
jobs.cpp:26:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
26 | scanf("%d",&a[i]);
| ~~~~~^~~~~~~~~~~~