List< int > myList = { 2, 6, 12, 13, 15, 18, 20}; cout << binary_search(myList.begin(), myList.end(), 20) ;
algorithms-stl
adityaarya06_4261c0618a87100e
(Adityaarya06 4261c0618a87100e)
February 2, 2024, 5:42am
#1
Why is 1 the output of the above code?