【C++二分查找】2517. 礼盒的最大甜蜜度https://blog.csdn.net/he_zhidan/article/details/141549369?spm=1001.2014.3001.5501