gap.cpp: In function 'long long int findGap(int, int)':
gap.cpp:27:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(a.size() == N) break;
~~~~~~~~~^~~~
gap.cpp:65:10: error: 's' was not declared in this scope
MinMax(s, t, &mn, &mx);
^
gap.cpp:65:10: note: suggested alternative: 'ms'
MinMax(s, t, &mn, &mx);
^
ms
gap.cpp:65:13: error: 't' was not declared in this scope
MinMax(s, t, &mn, &mx);
^
gap.cpp:65:13: note: suggested alternative: 'mt'
MinMax(s, t, &mn, &mx);
^
mt
gap.cpp:73:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(a.size() == N) break;
~~~~~~~~~^~~~
gap.cpp:62:13: warning: unused variable 'ms' [-Wunused-variable]
long long ms = 0, mt = 1000000000000000000LL;
^~
gap.cpp:62:21: warning: unused variable 'mt' [-Wunused-variable]
long long ms = 0, mt = 1000000000000000000LL;
^~