gap.cpp: In function 'long long int findGap(int, int)':
gap.cpp:20:23: 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]
20 | while(vect.size() < n) {
| ~~~~~~~~~~~~^~~
gap.cpp:28:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | for(int i = 0; i < vect.size() - 1; i++)
| ~~^~~~~~~~~~~~~~~~~
gap.cpp:28:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
28 | for(int i = 0; i < vect.size() - 1; i++)
| ^~~
gap.cpp:30:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
30 | return ans;
| ^~~~~~