jobs.cpp: In function 'bool is_ok(int)':
jobs.cpp:13:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | if(ptr>=a.size()) return true;
| ~~~^~~~~~~~~~
jobs.cpp:19:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | return (ptr>=a.size());
| ~~~^~~~~~~~~~
jobs.cpp: In function 'void yes(int)':
jobs.cpp:28:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | if(ptr>=index_v.size()||a[ptr]>day) break;
| ~~~^~~~~~~~~~~~~~~~
jobs.cpp: At global scope:
jobs.cpp:34:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
34 | main()
| ^~~~