gap.cpp: In function 'll findGap(int, int)':
gap.cpp:43:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | for (int i = 1; i < num.size(); ++i)
| ~~^~~~~~~~~~~~
gap.cpp:43:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
43 | for (int i = 1; i < num.size(); ++i)
| ^~~
gap.cpp:46:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
46 | return res;
| ^~~~~~