智力测验啦[分享]

麦琪

黄金长老
注册
2002-01-27
消息
508
荣誉分数
1
声望点数
0
听到一个题,觉得挺有意思,给大家看看,愿意动脑的就想想。

有10包年糕,每包10根,期中一包里每根9两重,其它9包里每根1斤重。给你杆秤,只许秤1次,判断出哪包是每根9两的。:rolleyes: :rolleyes:
 
你先别说,让别人想想。
 
每包拿出不同的根数.

TOO EASY LE.

:(
 
You guys find it not challenging? OK, here is another one.

The story takes place in a far-away country. In this country, there
are many married couples who seem to be happy. But the queen knows
better: She knows that there are husbands who cheat on their wives;
in fact, the queen knows that there is at least one unfaithful
husband.

The queen is sick of this and proposes the following: Starting on
January 1, if on a particular day, a woman finds out that her husband
is unfaithful, then the woman waits until 12 at night and then shoots
her husband.

Each woman does not know whether or not her husband is unfaithful, but
she knows exactly which other husbands are unfaithful.

On January 1, at 12 at night, all women open the windows of their
homes and listen. But, they don't hear shots.

On January 2, at 12 at night, all women open the windows of their
homes and listen. But, they don't hear shots.

On January 3, at 12 at night, all women open the windows of their
homes and listen. But, they don't hear shots.

Etc., etc.

On January 18, at 12 at night, all women open the windows of their
homes and listen. But, they don't hear shots.

On January 19, at 12 at night, all women open the windows of their
homes and listen. Now they hear shots.

Question: How many unfaithful husbands are there?
 
最初由 麦琪 发布
You guys find it not challenging? OK, here is another one.

The story takes place in a far-away country. In this country, there
are many married couples who seem to be happy. But the queen knows
better: She knows that there are husbands who cheat on their wives;
in fact, the queen knows that there is at least one unfaithful
husband.

The queen is sick of this and proposes the following: Starting on
January 1, if on a particular day, a woman finds out that her husband
is unfaithful, then the woman waits until 12 at night and then shoots
her husband.

Each woman does not know whether or not her husband is unfaithful, but
she knows exactly which other husbands are unfaithful.

On January 1, at 12 at night, all women open the windows of their
homes and listen. But, they don't hear shots.

On January 2, at 12 at night, all women open the windows of their
homes and listen. But, they don't hear shots.

On January 3, at 12 at night, all women open the windows of their
homes and listen. But, they don't hear shots.

Etc., etc.

On January 18, at 12 at night, all women open the windows of their
homes and listen. But, they don't hear shots.

On January 19, at 12 at night, all women open the windows of their
homes and listen. Now they hear shots.

Question: How many unfaithful husbands are there?
这就是那个半夜杀狗, 第几天枪响就有几只疯狗的题是一样的. :D
 
From IBM? I didn't know. I got it from my Algorithms prof.
 
最初由 麦琪 发布
From IBM? I didn't know. I got it from my Algorithms prof.

好好上班!!:flaming:
 
看, LG发话了, 老实点吧.
 
估计还没看到就下去了,要不然,没这么简单。。。。
 
后退
顶部