gap.cpp: In function 'long long int findGap(int, int)':
gap.cpp:14:32: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
14 | if (l>r || a.size()==N)
| ~~~~~~~~^~~
gap.cpp:27:29: 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]
27 | for (long long i=1;i<a.size();i++)
| ~^~~~~~~~~
gap.cpp:31:1: warning: control reaches end of non-void function [-Wreturn-type]
31 | }
| ^