Idea: When finished, in order, one accumulated digital array, and by the variable save the updated currently accumulated in the array which variables, when the accumulated value is greater than a predetermined time, determines whether or not the current variable is greater than the maximum variable stored, if the current variable large, variable current is skipped, if the maximum value is large, the maximum skip
Code: fairies, etc. and then send out the solution