Editorial for Arcadia Computing Contest 2 P2 - Tennis
Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.
Submitting an official solution before solving the problem yourself is a bannable offence.
Author:
Check if the schedule is Yingchi's by keeping track of consecutive perfect serves while iterating through the string. If the schedule is Yingchi's, calculate the total score of the schedule in a similar manner.
Time Complexity: .
Comments