Editorial for CCC '16 J1 - Tournament Selection


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.

The problem is asking for the number of W characters, which can be obtained by keeping a counter and then printing the correct group number with an if statement.

Time Complexity: \mathcal{O}(1)


Comments

There are no comments at the moment.