b***k 发帖数: 2673 | 1 ☆─────────────────────────────────────☆
tira (Tira) 于 (Fri Feb 15 20:45:53 2008) 提到:
有三个人,每人手里有一个密码数字。大家互相之间都不愿告诉
其他人他手里数字的真实值,问如何通过相互交谈推断出这3个数
字的总和。(DE Shaw brainteaser)
☆─────────────────────────────────────☆
orion (M42) 于 (Fri Feb 15 21:03:53 2008) 提到:
A picks up a random number, whispers to B.
B adds his own number, whispers to C.
C adds his own number, whispers to A.
A subtracts his random number, adds his own number, and announce it.
Mission completed!
☆───────────────────────── |
|