1 multiset<int> mt; 2 mt.clear(); 3 mt.insert(x); // insert one 4 cout << mt.count(x) << endl; // 5 mt.erase(mt.find(x));// delete one 6 mt.erase(x); //delete all x