gap.cpp: In function 'll solve1(int, int)':
gap.cpp:18:31: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
18 | while(lf != rf && a.size()*2 < n){
| ~~~~~~~~~~~^~~
gap.cpp:29:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for(int i = 1; i < a.size(); i++)
| ~~^~~~~~~~~~