GDOI2018模拟赛(十) Problem C