#include <iostream>
#include <unordered_set>
using std::unordered_set;
using std::cout;
using std::endl;
void print(const unordered_set<int>& usset)
{
for (const auto& element : usset) {
cout << element << " ";
}
std::cout << std::endl;
}
int main()
{
unordered_set<int> usset = { 11, 4, 88, 30, 21, 99, 88, 88 };
auto i = usset.find(88);
if (i != usset.end()) {
usset.erase(i);
}
print(usset);
return 0;
}
/*
run:
99 11 4 30 21
*/