Do not think it is going to work...

來源: innercool 2010-06-07 16:09:12 [] [博客] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (259 bytes)
回答: 猜自己的帽子數字guest0072010-06-06 18:33:58
It might be hard to come up with a counterexample for n=16, but an easy example for n=3 is the following:

player's offset: 0 1 2
player's number: 1 0 2
player's output: 2 1 1

No player's output is equal to the number on his hat.

所有跟帖: 

Your output is wrong -twfx- 給 twfx 發送悄悄話 (129 bytes) () 06/07/2010 postreply 18:52:34

Sorry, you are right. And here is the proof of the correctness. -innercool- 給 innercool 發送悄悄話 innercool 的博客首頁 (463 bytes) () 06/07/2010 postreply 19:26:05

請您先登陸,再發跟帖!

發現Adblock插件

如要繼續瀏覽
請支持本站 請務必在本站關閉/移除任何Adblock

關閉Adblock後 請點擊

請參考如何關閉Adblock/Adblock plus

安裝Adblock plus用戶請點擊瀏覽器圖標
選擇“Disable on www.wenxuecity.com”

安裝Adblock用戶請點擊圖標
選擇“don't run on pages on this domain”