gap.cpp: In function 'std::vector<long long int> findnum(long long int, long long int)':
gap.cpp:6:5: error: 'MinMax' was not declared in this scope
MinMax(s,e,&a,&b);
^~~~~~
gap.cpp:6:5: note: suggested alternative: 'rindex'
MinMax(s,e,&a,&b);
^~~~~~
rindex
gap.cpp:18:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v1.size();i++){
~^~~~~~~~~~
gap.cpp:21:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v2.size();i++){
~^~~~~~~~~~