Bool compare problem

firstly i dont understand why it gives the lower bound of 168 to be 200 and secondly how bool compare function works here

Why we did lower_bound()-coins-1 Go through this discussion. This may clear your doubt how the custom comparator is working

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.