第一题类似https://leetcode-cn.com/problems/maximum-number-of-events-that-can-be-attended/