标题: 今天碰到一到面试题,考logic能力的(求答案) [打印本页] 作者: candy8021 时间: 2006-5-12 21:43 标题: 今天碰到一到面试题,考logic能力的(求答案) 今天碰到一到面试题,考logic能力的,如下
Shown above are 4 men buried up to their necks in the ground. They can not move so can only look forward. Between A and B is a brick wall which can not be seen through. They know that between them are 4 hats, 2 x black and 2 x white, but they do not know which colour they are wearing. In order to avoid being shot, one of them must call out to the executioner the colour of their hat. If they get it wrong, everyone will be shot. They are not allowed to talk to each other and have 10 minutes to fathom it out.
After 1 minute:
Q Which one of them calls out ?
Q. Why is he 100% certain of the colour of his hat ?
This is not a trick question.
There are no outside influences nor other ways of communicating. They cannot move and are buried in a straight line. So A & B can only see their respective sides of the brick wall, C can see B and D can see B & C.作者: lesley 时间: 2006-5-15 11:13
c知道 因为如果bc戴相同的颜色 D就会知道,但如果D没有叫 那么说明bc是不同颜色的,c可以看到b的颜色 所以c会叫作者: candy8021 时间: 2006-5-15 20:44
thanks lesley ,当时看到题时脑里,简直蒙了,现在想明白了,无论什么时候都要保持头脑清晰,特别在测试过程中更要如此,这样才是出色的tester.作者: lesley 时间: 2006-5-16 15:24
不客气! :)