Editorial for UHCC1 P1 - PONG!


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.

Author: noirsnow

This problem can be solved by directly simulating the game. Please note that the winner is the one that first has the score of L.

Time Complexity: \mathcal{O}(L)


Comments

There are no comments at the moment.