bug fixed
贪心算法求解