gap.cpp: In function 'long long int findGap(int, int)':
gap.cpp:10:26: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
10 | while(l.size()+h.size() < n) {
| ~~~~~~~~~~~~~~~~~~^~~
gap.cpp:22:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | for(int i=1;i<l.size();i++) ans = max(ans, l[i]-l[i-1]);
| ~^~~~~~~~~
gap.cpp:23:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(int i=1;i<h.size();i++) ans = max(ans, h[i]-h[i-1]);
| ~^~~~~~~~~