本文介绍了Java:爱因斯坦之谜的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人能解决爱因斯坦之谜吗?


-一条街道上有五间房子,涂有五种不同的颜色.
-每个房子里都有一个不同国籍的人.
-这五个房主各自喝不同种类的饮料,抽不同品牌的雪茄,养一只不同的宠物.
爱因斯坦的谜语是:谁拥有鱼?

必要的线索:

1.英国人住在一所红房子里.
2.瑞典人养狗作为宠物.
3.丹麦人喝茶.
4.绿房子在白房子旁边,在白房子的左边.
5.温室的主人喝咖啡.
6.抽烟颇尔购物中心的人饲养鸟类.
7.黄房子的所有者抽烟登喜路.
8.住在中心房子里的男人喝牛奶.
9.挪威人住在第一所房屋.
10.抽着Blends烟的男人住在养猫的人旁边.
11.养马的男人和抽Dunhill的男人住在一起.
12.抽Blue Master烟的男人喝啤酒.
13.德国人抽王子.
14.挪威人住在蓝色的房子旁边.
15. Blends吸烟者旁边就是喝水的吸烟者.

does anyone have o solution for einstein''s riddle?


- In a street there are five houses, painted five different colors.
- In each house lives a person of different nationality.
- These five homeowners each drink a different kind of beverage, smoke different brand of cigar and keep a different pet.
Einstein riddle is: Who owns the fish?

Necessary clues:

1. The British man lives in a red house.
2. The Swedish man keeps dogs as pets.
3. The Danish man drinks tea.
4. The Green house is next to, and on the left of the White house.
5. The owner of the Green house drinks coffee.
6. The person who smokes Pall Mall rears birds.
7. The owner of the Yellow house smokes Dunhill.
8. The man living in the center house 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 man who smokes Dunhill.
12. The man who smokes Blue Master drinks beer.
13. The German smokes Prince.
14. The Norwegian lives next to the blue house.
15. The Blends smoker lives next to the one who drinks water.

推荐答案




这篇关于Java:爱因斯坦之谜的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 01:28