首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

两个人轮番拿10个硬币,每次可拿1,2,4个,拿到最后一个的为输,问有无必胜条件

2012-12-25 
两个人轮流拿10个硬币,每次可拿1,2,4个,拿到最后一个的为输,问有无必胜条件?Jeff and Diamond like playin

两个人轮流拿10个硬币,每次可拿1,2,4个,拿到最后一个的为输,问有无必胜条件?
Jeff and Diamond like playing game of coins,One day they

designed a new set of rules:

1)Totally 10 coins

2)One can take away 1,2or 4 coins at one time by turns

3)Who takes the last loses.

Given these rules Whether the winning status is pre-determined or not

热点排行