Skip to main content
OlympiadHQ

Browse · MathNet

Print

Rioplatense Mathematical Olympiad

Argentina counting and probability

Problem

Let be integers. Ana, Beto and Carlitos play blind man's bluff over an infinite grid. Initially, Ana and Carlitos are in cells at distance , and there is a candy in a cell which is at distance from Carlitos. Carlitos is blindfolded and can only see his own cell, whereas Ana and Beto can see the whole grid. Two movements are performed alternately. 1. Carlitos moves to an adjacent cell. If he finds Ana there, Carlitos loses. If he finds the candy, but not Ana, Carlitos wins. If the cell was empty, Beto shouts "hot" or "cold", at his discretion. 2. Ana moves to an adjacent cell. If she finds Carlitos or the candy, Ana wins. Otherwise, the game continues. Find, for each , the least such that Beto and Carlitos can coordinate a strategy to ensure Carlitos' victory, regardless of the initial positions of Ana, Carlitos, and the candy.

Remark: Two cells are adjacent if they share a common side. The distance between cells and is the least for which there is a sequence of cells such that is adjacent to for all .

problem
Solution
Answer: .

Abbreviate Ana, Beto, Carlitos and the candy by and respectively. We also write for the distance between and .

We claim that for , cannot ensure his victory. For the first movement there is no information. Assume without loss of generality that moves to the left. It could be the case that the initial configuration was the following:



Suppose moves to the left on her first turn. After these moves, while . Therefore, no matter how moves, will get to before does if she always moves to the left.



We will now show that for , and can coordinate a strategy to win. We divide the grid into four regions labeled (observe that 's initial cell is not part of any of these regions).

On his first two movements, moves to the left and to the right, returning to his initial position. This way, after Ana completes her second turn we have and .

Meanwhile, uses these two turns to tell what region contains , under the following convention:

Assume without loss of generality that is in (for the other cases, analogous strategies are obtained by rotation). and 's strategy is as follows. In his third turn, will move upwards. From then on, will shout “cold” if is not on the same row as ; otherwise he shouts “hot”. In this way, whenever hears “cold”, he will know that he must move upwards to reduce his distance to . And when he hears “hot”, he starts moving to the right. (Note that it is possible that will never hear “Hot”, meeting just by going up.)

Since decreases on each turn, after turns gets to . However, to complete the proof we must make sure that will not get to or before wins the game. Suppose moved times following the previous strategy. Then (this is because both and move to an adjacent cell on each turn, so their distance is reduced by at most 2), while (because the candy does not move). Hence cannot reach or before wins the game, as claimed.
Final answer
n = 2d + 2

Techniques

Games / greedy algorithmsInvariants / monovariants