回複:SAP智力題 3-way puzzle ★★★★★★★

來源: 火球魔法 2009-09-26 14:08:51 [] [博客] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (513 bytes)
Assume the three ways are 1, 2 and 3.

Define statement A as: if 3 is live, then A is false.

Define question QA as: is A true?

Define statement QB as: is 1 live?

Define statement QC as: is the god's answer to QB yes?

Then the question Q to ask the god is:

If you cannot answer QA, then please answer QA; otherwise please answer QC.

* If the answer is silence, then 3 is live;
* otherwise if the answer is yes, then 1 is live;
* otherwise 2 is live.

請您先登陸,再發跟帖!

發現Adblock插件

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

關閉Adblock後 請點擊

請參考如何關閉Adblock/Adblock plus

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

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