I want to know how to use these STL functions.
for example in the question CSS2 (LTIME17) ,i calculated upper bound and lower bound modifying the binary search code(myself). but i want to know that how can i use these inbuilt functions to save time .
link to my accepted solution - http://www.codechef.com/viewsolution/5225565 .
But on using these functions I am getting an error on ideone - http://ideone.com/wuLk1P