Editorial for COCI '14 Contest 5 #3 Traktor
Submitting an official solution before solving the problem yourself is a bannable offence.
The goal of this task is to find the first moment when there are exactly
The solution that was enough for
The solution that was enough for all points remembers for each
Now we are only left with finding the first moment when some of the counters get to
Total complexity is
Comments