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