trinerdi / icpc-notebook

The ACM-ICPC notebook of our team "Tři nerdi"
MIT License
2 stars 1 forks source link

Add closestLower function for sets #37

Closed vvolhejn closed 6 years ago

vvolhejn commented 6 years ago

upper_bound and lower_bound infamously have no equivalents for finding lower elements, so here they are, foolproof.