What will happen when you attempt to compile and run the following code?
#include
#include
#include
using namespace std;
int main(){
int t[] ={ 3, 4, 2, 1, 6, 5, 7, 9, 8, 0 };
vector
set
s1.insert(v.begin(),v.end());
pair
range = s1.equal_range(6);
cout<<*range.first<<" "<<*range.second< return 0; } The output will be:
Currently there are no comments in this discussion, be the first to comment!