codeforces-Educational Codeforces Round 79 (Rated for Div. 2)-B.Verse For Santa 题解

 

 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

Guess you like

Origin www.cnblogs.com/Never-Land/p/12113363.html