mulitset example
#include <iostream>
#include <set>
using namespace std;
int main(int argc, char const *argv[])
{
multiset<int, greater<int> > num;
num.insert(3);
num.insert(1);
num.insert(2);
num.insert(5);
num.insert(6);
multiset<int, greater<int> >::iterator pos;
for (pos = num.begin(); pos !=num.end(); ++pos)
{
cout << *pos << " ";
}
return 0;
}