What does this line of code (c++) mean?
vector<int> new_B1 = B1; new_B1.erase(new_B1.begin() + i);
This is from Contest Results (2018 Bronze December #3, back and forth).
What does the above line of code do to the list new_B1?
Thanks!
What does this line of code (c++) mean?
vector<int> new_B1 = B1; new_B1.erase(new_B1.begin() + i);
This is from Contest Results (2018 Bronze December #3, back and forth).
What does the above line of code do to the list new_B1?
Thanks!
Google it (“vector erase C++”).