Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cmath>
- #include <set>
- using namespace std;
- int main() {
- multiset<int> ms;
- ms.insert(5);
- ms.insert(2);
- ms.insert(1);
- ms.insert(6);
- ms.erase(ms.find(5));
- for(int x : ms) {
- cout << x << endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement