← 返回数学题库
5692脑筋急转弯中等数值题medium

Kayles Grundy Value

题目

Kayles is played on a single row of n adjacent bowling pins. A move knocks down either one pin or two ADJACENT pins, possibly splitting the row into two independent shorter rows. The player who knocks down the last pin wins. Compute the Sprague-Grundy value of a single row of 7 pins.

解题计时

0:00

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

你的答案