2. Suppose I have a sick dog, I can only see 1 sick dog. When I found the owner didn't kill his sick dog. I realize that mine is a sick one. And then I will kill it. The other owner is in the same situation.

clinux (C/Linux)
(#238267@0)
2001-10-26 -05:00

回到话题: 微软试题:一共50个主人,每人一条狗,其中确认有病狗。病狗一眼就可以分辨出来,而每个主人一天只能看一次,只能看到别人的狗,要求在确认出自己的狗是病狗时必须开枪杀了它。结果第三天听到一阵枪声,请问多少条狗是病狗?

回到论坛: HOME枫下论坛枫下论坛主坛枫下沙龙谈天说地

URL:   
http://www.rolia.net/zh/post.php?f=0&p=238267