C++ set -- number of elements with a key less than x

Viewed 9959

I have a set<int> and I want to see how many elements in it are less than x. (x is also int)

What should i do?

1 Answers
Related