jobs.cpp: In function 'bool works(int)':
jobs.cpp:13:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for (int i = 0; i < jobs.size(); i++) {
| ~~^~~~~~~~~~~~~
jobs.cpp: In function 'int main()':
jobs.cpp:53:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | if (counter < jobs.size())
| ~~~~~~~~^~~~~~~~~~~~~
jobs.cpp:55:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | if (counter < jobs.size()) // cout << 0 * (counter++) << " ";
| ~~~~~~~~^~~~~~~~~~~~~