In file included from /usr/include/c++/9/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:33,
from gap.cpp:1:
gap.cpp: In function 'long long int findGap(int, int)':
gap.cpp:21:19: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
21 | assert(v.size() == n);
| ~~~~~~~~~^~~~
gap.cpp:23:18: 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<v.size() ; i++)
| ~^~~~~~~~~
gap.cpp:31:1: warning: control reaches end of non-void function [-Wreturn-type]
31 | }
| ^