取石子- 原創 - 清理版麵-請再此回貼

來源: 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”