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