回複:挑戰:如果帽子的顏色有10種,什麽樣的算法,可以讓被砍頭的人最少?

來源: 2010-02-18 06:32:23 [博客] [舊帖] [給我悄悄話] 本文已被閱讀:

label the 10 colors 0 to 9. The first guy says the color that is the modulo-10 sum of all the rest. The surviving prob. is 99.1%.