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