一个世纪前的谜语[爱因斯坦的逻辑推理题]
即时获得麻球游戏开发的最新消息,关注游戏开发者热门讨论,请各位开发者申请加入麻球官方群:121304476
也可以follow catfly围脖:t.sina.com.cn/iscat

爱因斯坦在20世纪初出的这个谜语。他说世界上有98%的人答不出来。某家公司在面试应聘者时借用了爱因斯坦的这个IQ题,考查应聘者的IQ,现在暂且不去讨论这个公司用这样的题目来考查应聘者有多“变态”,如果是你,拿到了这样的笔试题目,你能做得出来吗?
拍了个我的解答图,留作纪念。想自己解答的先不要看这个图。


题目如下:

1. 在一条街上,有5座房子,喷了5种颜色
2. 每个房子里住着不同国籍的人
3. 每个人喝不同的饮料,抽不同品牌的香烟,养不同的宠物

问题是:谁养鱼?
已知条件:
1、英国人住红色房子
2、瑞典人养狗
3、丹麦人喝茶
4、绿色房子在白色房子左面 (根据英文原意,是白色房子左边的紧邻)
5、绿色房子主人喝咖啡
6、抽PallMall香烟的人养鸟
7、黄色房子主人抽Dunhill香烟
8、住在中间房子的人喝牛奶
9、挪威人住第一号房
10、抽Blends香烟的人住在养猫的人隔壁
11、养马的人住抽Dunhill香烟的人隔壁
12、抽BlueMaster的人喝啤酒
13、德国人抽Prince香烟
14、挪威人住蓝色房子隔壁
15、抽Blends香烟的人有一个喝水的邻居 

大家一定要自己去寻找思路和方法来解答一下这个谜语。需要任何提示才能解答的,都视为不能回答这个谜语。
程序人员很适合来尝试一下这个题目,有助于启发我们在平时的开发工作中去如何寻找线索,构思方法,验证与调整你的思路,直到最终走出困境,解决难题。
我在跟朋友出游的车上后排座的烟台晚报上,看到这个谜语,于是找支笔在报纸的空白处写写画画算出来的。
相信我,如果你方便的话,多找几张纸会算得快些,也能减轻记忆力的负担。当然如果你愿意一边快速的思考又一边积极的调动记忆力,会帮助你算得更快些。


英文原题:
The Einstein Puzzle

There are 5 houses in five different colors. They are lined up in a row side by side.
In each house lives a person with a different nationality.
These 5 owners drink a certain drink, smoke a certain brand of tobacco and keep a certain pet.
No owners have the same pet, smoke the same tobacco, or drink the same drink.
As you look at the 5 houses from across the street, the green house is adjacent(woog注释:adjacent adj,毗连的,邻近的,接近的;n,近邻) to the left of the white house

The Big Question is:
Who owns the Fish?

CLUES:
1、The Brit lives in the red house
2、The Swede keeps dogs as pets
3、The Dane drinks tea
4、The green house is on the immediate left of the white house as you stare at the front of the 5 houses
5、The green house owner drinks coffee
6、The person who smokes Pall Mall raises birds
7、The owner of the yellow house smokes Dunhill
8、The man living in the house right in the center drinks milk
9、The Norwegian lives in the first house
10、The man who smokes Blends lives next to the one who keeps cats
11、The man who keeps horses lives next to the one who smokes Dunhill
12、The owner who smokes Bluemaster drinks juice
13、The German smokes Prince
14、The Norwegian lives next to the blue house
15、The man who smokes Blend has a neighbor who drinks water. 

猫推拼盘