cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Using binary_search and count
Using binary_search and count
Mar 23, 2011 at 12:53am UTC
Forte 201092
(6)
When we use binary_search, if the value is found, can we make function returns the position of that value?
Them same question with count function.
Thank you for your help :)
Mar 23, 2011 at 4:31am UTC
ne555
(10692)
use lower_bound
Them same question with count function.
? Do you want a list of the positions?
Mar 24, 2011 at 12:53am UTC
Forte 201092
(6)
Yes, a list of the positions.
Thanks for your help :)
Topic archived. No new replies allowed.