Advertisement
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(2);
- ms.insert(3);
- ms.insert(4);
- ms.insert(5);
- ms.insert(6);
- multiset<int>::iterator it = ms.lower_bound(3);
- it--;
- cout << *it << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement