取石子- 原创 - 清理版面-请再此回贴

来源: file20002000 2009-12-11 14:46:33 [] [旧帖] [给我悄悄话] 本文已被阅读: 次 (179 bytes)
本文内容已被 [ file20002000 ] 在 2010-10-31 16:05:59 编辑过。如有问题,请报告版主或论坛管理删除.

答案见 http://en.wikipedia.org/wiki/Nim

 

 

以下是原问题:

有三堆石子 - 每堆分别有 2 , 4, 6 个 石子

你和对手轮流取石子: 规则如下

1- 每次只可从一堆取

2- 每次必须取一个以上石子

拿到最后一个石子者为胜。

所有跟帖: 

以下是我公布的答案 (1/3) -file20002000- 给 file20002000 发送悄悄话 (1678 bytes) () 12/11/2009 postreply 14:48:41

以下是版上朋友门回答对的总结 4点 -file20002000- 给 file20002000 发送悄悄话 (960 bytes) () 12/11/2009 postreply 15:13:18

回复:取石子- 原创 - 清理版面-请再此回贴 -jinjing- 给 jinjing 发送悄悄话 (380 bytes) () 12/11/2009 postreply 19:00:29

I'm ssory,careless again.second should be first -jinjing- 给 jinjing 发送悄悄话 (377 bytes) () 12/11/2009 postreply 19:12:24

Correct! -file20002000- 给 file20002000 发送悄悄话 (232 bytes) () 12/12/2009 postreply 09:28:01

Correct -file20002000- 给 file20002000 发送悄悄话 (58 bytes) () 12/12/2009 postreply 09:28:47

回复:I'm ssory,careless again.second should be first -jinjing- 给 jinjing 发送悄悄话 (709 bytes) () 12/29/2009 postreply 15:11:52

以下是我公布的答案 (2/3) -file20002000- 给 file20002000 发送悄悄话 (190 bytes) () 12/12/2009 postreply 09:54:15

这个怎么变成你的原创了呢? -mitts- 给 mitts 发送悄悄话 (242 bytes) () 12/21/2009 postreply 22:06:26

我给大家说一个我以前看到的算法吧 -mitts- 给 mitts 发送悄悄话 (497 bytes) () 12/21/2009 postreply 22:27:08

以下是我公布的答案 (4/3) -file20002000- 给 file20002000 发送悄悄话 (646 bytes) () 12/22/2009 postreply 19:24:25

我原来写过一篇文章介绍这种游戏的 -康MM- 给 康MM 发送悄悄话 康MM 的博客首页 (149 bytes) () 12/23/2009 postreply 04:02:24

回复:我原来写过一篇文章介绍这种游戏的 -jinjing- 给 jinjing 发送悄悄话 (21 bytes) () 12/29/2009 postreply 15:15:48

请您先登陆,再发跟帖!

发现Adblock插件

如要继续浏览
请支持本站 请务必在本站关闭/移除任何Adblock

关闭Adblock后 请点击

请参考如何关闭Adblock/Adblock plus

安装Adblock plus用户请点击浏览器图标
选择“Disable on www.wenxuecity.com”

安装Adblock用户请点击图标
选择“don't run on pages on this domain”