gap.cpp: In function 'long long int findGap(int, int)':
gap.cpp:21:34: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
21 | while(l != r && v.size() < n){
| ~~~~~~~~~^~~
gap.cpp:28:21: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | for(i = 1; i<v.size(); i++){
| ~^~~~~~~~~
gap.cpp:15:17: warning: unused variable 'j' [-Wunused-variable]
15 | ll l, r, i, j, lo = 1, hi = 1000000000000000000, ans = 0, n = N;
| ^
gap.cpp:33:14: warning: unused variable 'd1' [-Wunused-variable]
33 | ll a, b, d1, d2, pw = 1;
| ^~
gap.cpp:33:18: warning: unused variable 'd2' [-Wunused-variable]
33 | ll a, b, d1, d2, pw = 1;
| ^~