跳到主要内容
← 返回题库
免费智力题中等

Game Of Chords

考察公司Citadel

题目

There are 4040 points spaced evenly around a circle. Alice and Bob take turns drawing a chord between two of the points. A new chord may share an endpoint with an existing chord, but it may not cross one inside the circle. Alice goes first, and whoever cannot draw a legal chord loses. With perfect play, who wins?

解析

先自己试一试,卡住了再打开提示。

提示 1

Look for a first move that makes the board symmetric.

提示 2

Alice opens with a diameter. Can she then copy every move Bob makes?

查看解析

Alice wins by copying.

Move 1. With 4040 evenly spaced points, every point has an opposite point, so Alice draws a diameter DD. Reflecting in DD sends the 4040 points to themselves, and the board is now symmetric.

Every later move. Whenever Bob draws a chord cc, Alice draws its mirror image c′c' in DD. This is always legal:

  1. cc lies on one side of DD. It cannot cross DD inside the circle, so it sits in one half (it may touch an end of DD).
  2. c′c' is new. c′c' sits in the other half, so c′≠cc' \neq c. Before Bob's move the board was symmetric, so if c′c' were already drawn, cc would have been too, and it wasn't.
  3. c′c' crosses nothing. Reflection maps the board before Bob's move onto itself, and cc crossed none of it, so c′c' crosses none of it either. And c′c' can't cross cc, because they sit in opposite halves.

After Alice's reply the board is symmetric again, so she can keep doing this. Alice always has a move whenever Bob does, and there are only finitely many chords, so Bob is the first one stuck.

Answer: Alice wins.