gap.cpp: In function 'll findGap(int, int)':
gap.cpp:15:13: error: 'MinMax' was not declared in this scope
MinMax(le, ri, Mn, Mx);
^~~~~~
gap.cpp:15:13: note: suggested alternative: 'rindex'
MinMax(le, ri, Mn, Mx);
^~~~~~
rindex
gap.cpp:26:5: error: 'MinMax' was not declared in this scope
MinMax(le, ri, Mn, Mx);
^~~~~~
gap.cpp:26:5: note: suggested alternative: 'rindex'
MinMax(le, ri, Mn, Mx);
^~~~~~
rindex
gap.cpp:48:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < A.size(); i += 2)
~~^~~~~~~~~~