0
Here comes the code:
first = mult.lower_bound(c);
last = mult.upper_bound(c);
if (first == mult.end())
{
printf("%d not found\n", c);
}
else
{
printf("%d found from %d to %d\n", c, first, last);
}
The problem is that first and last are iterators, I’ve tried first - mult.Begin() but the IDE does not accept :/