https://leetcode.cn/problems/maximum-profit-in-job-scheduling/ 一模一样,就是多了要求出来下标数组。可惜了之前没仔细看