← 返回数学题库
5677脑筋急转弯简单数值题short

Three-Pile Nim Winning Move

题目

Two players play standard Nim with three piles of sizes 3, 5, and 7. On a turn a player removes any positive number of stones from a single pile, and the player who takes the last stone wins. Does the first player win, and if so, give a winning first move (which pile and how many stones to remove).

解题计时

0:00

提交作答时记录,用于后续平均用时统计。

你的答案

first_player_wins

pile_to_remove_from_original_size

stones_to_remove