SAP智力題-----Locks and chains

來源: WilliamLuo 2009-06-10 09:43:46 [] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (669 bytes)
There are 2 rings on door and wall, if you put a chain through the rings and use a lock to lock the two ends of the chain, then the door is locked. One key can unlock only one lock. Now you have enough chains.
(1) how to lock the door with 3 locks, and all 3 keys are necessary to unlock the door;
(2) how to lock the door with 3 locks, and any 1 key is necessary and sufficient to unlock the door;
(3) how to lock the door with 3 locks, and any 2 keys are necessary and sufficient to unlock the door;
(4) how to lock the door with 5 locks, and any 3 keys are necessary and sufficient to unlock the door;
https://www.sdn.sap.com/irj/scn/forum?forumID=410

所有跟帖: 

回複:SAP智力題-----Locks and chains -Windows8- 給 Windows8 發送悄悄話 (99 bytes) () 06/11/2009 postreply 10:24:11

請您先登陸,再發跟帖!

發現Adblock插件

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

關閉Adblock後 請點擊

請參考如何關閉Adblock/Adblock plus

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

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