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 = {5, 3, 3, 1};
- //multiset<int>::iterator it = ms.find(3);
- auto it = ms.find(0);
- if (it != ms.end())
- cout << *it;
- else
- cout << "Not Found!";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment