// Deletes the second element (vec[1])
vec.erase(vec.begin()+1);// Deletes the second through third elements (vec[1], vec[2])
vec.erase(vec.begin()+1, vec.begin()+3);
std::vector<int> vec;
vec.push_back(6);
vec.push_back(-17);
vec.push_back(12);// Deletes the second element (vec[1])
vec.erase(std::next(vec.begin()));// Deletes the second through third elements (vec[1], vec[2])
vec.erase(std::next(vec.begin(),1), std::next(vec.begin(),3));
std::vector<int> vec;
vec.push_back(6);
vec.push_back(-17);
vec.push_back(12);// Deletes the second element (vec[1])
vec.erase(std::next(vec.begin()));// Deletes the second through third elements (vec[1], vec[2])
vec.erase(std::next(vec.begin(),1), std::next(vec.begin(),3));
std::vector<int> vec;
vec.push_back(6);
vec.push_back(-17);
vec.push_back(12);// Deletes the second element (vec[1])
vec.erase(std::next(vec.begin()));// Deletes the second through third elements (vec[1], vec[2])
vec.erase(std::next(vec.begin(),1), std::next(vec.begin(),3));
std::vector<int> vec;
vec.push_back(6);
vec.push_back(-17);
vec.push_back(12);// Deletes the second element (vec[1])
vec.erase(std::next(vec.begin()));// Deletes the second through third elements (vec[1], vec[2])
vec.erase(std::next(vec.begin(),1), std::next(vec.begin(),3));
std::vector<int> vec;
vec.push_back(6);
vec.push_back(-17);
vec.push_back(12);// Deletes the second element (vec[1])
vec.erase(std::next(vec.begin()));// Deletes the second through third elements (vec[1], vec[2])
vec.erase(std::next(vec.begin(),1), std::next(vec.begin(),3));
std::vector<int> vec;
vec.push_back(6);
vec.push_back(-17);
vec.push_back(12);// Deletes the second element (vec[1])
vec.erase(std::next(vec.begin()));// Deletes the second through third elements (vec[1], vec[2])
vec.erase(std::next(vec.begin(),1), std::next(vec.begin(),3));
std::vector<int> vec;
vec.push_back(6);
vec.push_back(-17);
vec.push_back(12);// Deletes the second element (vec[1])
vec.erase(std::next(vec.begin()));// Deletes the second through third elements (vec[1], vec[2])
vec.erase(std::next(vec.begin(),1), std::next(vec.begin(),3));
std::vector<int> vec;
vec.push_back(6);
vec.push_back(-17);
vec.push_back(12);// Deletes the second element (vec[1])
vec.erase(std::next(vec.begin()));// Deletes the second through third elements (vec[1], vec[2])
vec.erase(std::next(vec.begin(),1), std::next(vec.begin(),3));
std::vector<int> vec;
vec.push_back(6);
vec.push_back(-17);
vec.push_back(12);// Deletes the second element (vec[1])
vec.erase(std::next(vec.begin()));// Deletes the second through third elements (vec[1], vec[2])
vec.erase(std::next(vec.begin(),1), std::next(vec.begin(),3));