USAMO/USAMO
2016 United States of America Mathematical Olympiad
6 道题目
USAMOproofEnglish problemsChinese solutions
选择题目
点击题号切换,正文区一次只显示一道题
Integers $n$ and $k$ are given, with $n\ge k\ge2$. You play the following game against an evil wizard.
The wizard has $2n$ cards; for each $i=1,\ldots,n$, there are two cards labeled $i$. Initially, the wizard places all cards face down in a row, in unknown order. You may repeatedly make moves of the following form: you point to any $k$ of the cards. The wizard then turns those cards face up. If any two of the cards match, the game is over and you win. Otherwise, you must look away, while the wizard arbitrarily permutes the $k$ chosen cards and then turns them back face-down. Then, it is your turn again.
We say this game is winnable if there exist some positive integer $m$ and some strategy that is guaranteed to win in at most $m$ moves, no matter how the wizard responds. For which values of $n$ and $k$ is the game winnable?
The wizard has $2n$ cards; for each $i=1,\ldots,n$, there are two cards labeled $i$. Initially, the wizard places all cards face down in a row, in unknown order. You may repeatedly make moves of the following form: you point to any $k$ of the cards. The wizard then turns those cards face up. If any two of the cards match, the game is over and you win. Otherwise, you must look away, while the wizard arbitrarily permutes the $k$ chosen cards and then turns them back face-down. Then, it is your turn again.
We say this game is winnable if there exist some positive integer $m$ and some strategy that is guaranteed to win in at most $m$ moves, no matter how the wizard responds. For which values of $n$ and $k$ is the game winnable?
考场第一眼 / First look
当 $k<n$ 时,连续询问长度为 $k$ 的滑动窗口。若每次都没有配对,相邻两个窗口重叠 $k-1$ 张;新出现的标签会唯一确定刚离开窗口的位置原来是什么标签,于是可以逐个锁定固定位置。锁定超过 $n$ 个位置后必有一对。反之 $k=n$ 时,巫师可始终让每次翻开的恰是一套 $1,2,\ldots,n$,并利用每回合允许的任意重排把这个不变量维持下去。