答案见 http://en.wikipedia.org/wiki/Nim
以下是原问题:
有三堆石子 - 每堆分别有 2 , 4, 6 个 石子
你和对手轮流取石子: 规则如下
1- 每次只可从一堆取
2- 每次必须取一个以上石子
拿到最后一个石子者为胜。
答案见 http://en.wikipedia.org/wiki/Nim
以下是原问题:
有三堆石子 - 每堆分别有 2 , 4, 6 个 石子
你和对手轮流取石子: 规则如下
1- 每次只可从一堆取
2- 每次必须取一个以上石子
拿到最后一个石子者为胜。
•
以下是我公布的答案 (1/3)
-file20002000-
♂
(1678 bytes)
()
12/11/2009 postreply
14:48:41
•
以下是版上朋友门回答对的总结 4点
-file20002000-
♂
(960 bytes)
()
12/11/2009 postreply
15:13:18
•
回复:取石子- 原创 - 清理版面-请再此回贴
-jinjing-
♀
(380 bytes)
()
12/11/2009 postreply
19:00:29
•
I'm ssory,careless again.second should be first
-jinjing-
♀
(377 bytes)
()
12/11/2009 postreply
19:12:24
•
Correct!
-file20002000-
♂
(232 bytes)
()
12/12/2009 postreply
09:28:01
•
Correct
-file20002000-
♂
(58 bytes)
()
12/12/2009 postreply
09:28:47
•
回复:I'm ssory,careless again.second should be first
-jinjing-
♀
(709 bytes)
()
12/29/2009 postreply
15:11:52
•
以下是我公布的答案 (2/3)
-file20002000-
♂
(190 bytes)
()
12/12/2009 postreply
09:54:15
•
这个怎么变成你的原创了呢?
-mitts-
♂
(242 bytes)
()
12/21/2009 postreply
22:06:26
•
我给大家说一个我以前看到的算法吧
-mitts-
♂
(497 bytes)
()
12/21/2009 postreply
22:27:08
•
以下是我公布的答案 (4/3)
-file20002000-
♂
(646 bytes)
()
12/22/2009 postreply
19:24:25
•
我原来写过一篇文章介绍这种游戏的
-康MM-
♀
(149 bytes)
()
12/23/2009 postreply
04:02:24
•
回复:我原来写过一篇文章介绍这种游戏的
-jinjing-
♀
(21 bytes)
()
12/29/2009 postreply
15:15:48
WENXUECITY.COM does not represent or guarantee the truthfulness, accuracy, or reliability of any of communications posted by other users.
Copyright ©1998-2025 wenxuecity.com All rights reserved. Privacy Statement & Terms of Use & User Privacy Protection Policy