void erase(vector<string>& v, int pos) { for (int i = pos; i < v.size() - 1; i++) v[i] = v[i+1]; v.pop_back(); }