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