写了贪心算法未检验。

Signed-off-by: cyberzhg <cyberzhg@gmail.com>