Browse · MathNet
Print55rd Ukrainian National Mathematical Olympiad - Third Round
Ukraine counting and probability
Problem
2015 candies are placed along a circle and numbered to clockwise. Andriy and Olesia play the following game. In each turn, a player can take either or candies with consecutive numbers ( and are also considered "consecutive"). The player who can't make a move loses. Who has a winning strategy if Andriy plays first?
Solution
Andriy takes (or ) consecutive candies. Then Olesia takes (or ) diametrically opposite candies, so that there are candies on both sides between the groups of taken candies. Then she just copies Andriy's moves on the other part. If Andriy can make a move, she can as well, so she will not lose anyway. Since the game is finite, in the end she will win.
Final answer
Olesia
Techniques
Games / greedy algorithmsInvariants / monovariants