【C++二分查找 前缀和】2602. 使数组元素全部相等的最少操作次数https://blog.csdn.net/he_zhidan/article/details/141376649?spm=1001.2014.3001.5501