Least value of what? Least value of one of the many lists, or least value of one of the many pairs inside each of those lists, or least value of the two ints inside each of those many pairs, or least value of a single int inside one of those many pairs?
thanks..but one more thing...how can I compare somepair of a list with sompair1 of the list?
My vector contains the lists of pairs, so I want to compare one pair's value with another pair's value...say first of one pair with first of another pair...
You can compare one value with another with the > operator. Or the < operator. Or the == operator. Or the != operator.
Get the values from the pairs, do the comparison. This has all now been spelled out for you to a really, really basic level. Start thinking for yourself.