gap.cpp: In function 'long long int findGap(int, int)':
gap.cpp:5:2: error: 'vector' was not declared in this scope
vector<long long>ve;
^~~~~~
gap.cpp:5:9: error: expected primary-expression before 'long'
vector<long long>ve;
^~~~
gap.cpp:9:2: error: 'MinMax' was not declared in this scope
MinMax(0,1e18,kiri,kanan);
^~~~~~
gap.cpp:24:3: error: 've' was not declared in this scope
ve.push_back(*lo);
^~
gap.cpp:28:7: error: 've' was not declared in this scope
sort(ve.begin(),ve.end());
^~
gap.cpp:28:2: error: 'sort' was not declared in this scope
sort(ve.begin(),ve.end());
^~~~
gap.cpp:28:2: note: suggested alternative: 'short'
sort(ve.begin(),ve.end());
^~~~
short
gap.cpp:33:7: error: 'max' was not declared in this scope
jaw=max(jaw,ve[i]-ve[i-1]);
^~~