P17716 [HexOI Round 1] 变魔术 / magic [题解]

· · 题解

P17716 [HexOI Round 1] 变魔术 / magic [题解]

Solution

主要涉及贪心。