jobs.cpp: In function 'bool can(int)':
jobs.cpp:11:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | if ( l >= v.size()) return 1;
| ~~^~~~~~~~~~~
jobs.cpp:13:7: warning: unused variable 'p' [-Wunused-variable]
13 | int p;
| ^
jobs.cpp:14:19: warning: variable 'P' set but not used [-Wunused-but-set-variable]
14 | pair <int,int > P = {i + 1, 0};
| ^
jobs.cpp:19:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | if ( l >= v.size()) return 1;
| ~~^~~~~~~~~~~
jobs.cpp:8:9: warning: unused variable 's' [-Wunused-variable]
8 | int i, s, cnt = 0, l, r;
| ^
jobs.cpp:8:12: warning: unused variable 'cnt' [-Wunused-variable]
8 | int i, s, cnt = 0, l, r;
| ^~~
jobs.cpp: In function 'void Ans(int)':
jobs.cpp:26:7: warning: unused variable 'p' [-Wunused-variable]
26 | int p;
| ^
jobs.cpp:27:19: warning: variable 'P' set but not used [-Wunused-but-set-variable]
27 | pair <int,int > P = {i + 1, 0};
| ^
jobs.cpp:23:9: warning: unused variable 's' [-Wunused-variable]
23 | int i, s, cnt = 0, l, r;
| ^
jobs.cpp:23:12: warning: unused variable 'cnt' [-Wunused-variable]
23 | int i, s, cnt = 0, l, r;
| ^~~