gap.cpp: In function 'll solve(ll, ll)':
gap.cpp:16:15: error: 'MinMax' was not declared in this scope
if(lo < mid) MinMax(lo, mid, &mn1, &mx1);
^~~~~~
gap.cpp:16:15: note: suggested alternative: 'rindex'
if(lo < mid) MinMax(lo, mid, &mn1, &mx1);
^~~~~~
rindex
gap.cpp:17:19: error: 'MinMax' was not declared in this scope
if(mid + 1 < hi) MinMax(mid + 1, hi, &mn2, &mx2);
^~~~~~
gap.cpp:17:19: note: suggested alternative: 'rindex'
if(mid + 1 < hi) MinMax(mid + 1, hi, &mn2, &mx2);
^~~~~~
rindex
gap.cpp: In function 'long long int findGap(int, int)':
gap.cpp:26:2: error: 'MinMax' was not declared in this scope
MinMax(0, MAXA, &mn, &mx);
^~~~~~
gap.cpp:26:2: note: suggested alternative: 'rindex'
MinMax(0, MAXA, &mn, &mx);
^~~~~~
rindex