Dabagh's blog

By Dabagh, 8 years ago, In English

Hi.

Consider a set of integers S and an integer X.

How to find the maximum integer less than X in S using lower_bound and/or upper_bound?!

How to find the minimum integer greater than X in S using lower_bound and/or upper_bound?!

Full text and comments »

  • Vote: I like it
  • -3
  • Vote: I do not like it