#include <iostream>
#include <unordered_set>
using namespace std;
int main()
{
unordered_set<int> us = {5, 4, -2, 9, 8};
us.insert(100);
us.insert({40, 50, 60});
us.erase(-2);
for (auto e : us)
{
cout << e << endl;
}
return 0;
}
Posted inC++