答案見 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