#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
template <typename T>
void filter_vector(std::vector<T>&vec) {
vec.erase(std::unique(begin(vec), end(vec)), end(vec));
}
int LOOP = 1000000;
void test_string_fileter0() {
for (int i = 0;i < LOOP;i++) {
std::vector<std::string>vec{ "Abc1234a", "Abc12BBNY34a", "Abc1234a", "Abc1234LOP", "Abc1234a", "TTTTTTT1", "123", "TTTTTTT1", "TTTTTTT0", "TTTTTTT0", "Abc12BBNY34a", "123a", "11"};
filter_vector(vec);
}
}
int main() {
test_string_fileter0(); // 1.175s
return 0;
}