https://codingnote.cc/p/236340/
洛谷 P6851 【onu】贪心