文学城论坛
+A-

回复:挑战:如果帽子的颜色有10种,什么样的算法,可以让被砍头的人最少?

endofsuburbia 2010-02-18 06:32:23 ( reads)

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%.

跟帖(3)

guest007

2010-02-18 08:46:30

you beat us!

cma

2010-02-18 12:41:17

这才是正解。10种颜色的帽子的问题比2种颜色更能体现问题的实质。

wxczcbm

2010-02-18 19:36:50

Nice answer.