Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » 灌水乐园  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 只有2%的人回答得了这道题
jameszhang



CJSDN高级会员


发贴: 1594
于 2004-11-23 08:38 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
爱因斯坦说:只有2%的人回答得了这道题,你试试看

前提:1、有五栋五种颜色的房子;
2、每一位房子 的主人国籍都不同;
3、这五个人每人只喝一种饮料,只抽一种牌子的香烟,只养一种宠物;
4、没有人有相同的宠物,抽相同牌子的香烟,喝相同的饮料。
提示:1、英国人住在红房子里;
2、瑞典人养了一条狗;
3、丹麦人喝茶;
4、 绿房子在白房子的左边;
5、绿房子的主人喝咖啡;
6、抽PALL MALL烟的人养了一只鸟;
7、黄房子的主人抽DUNHILL烟;
8、住在中间那间房子的人喝牛奶;
9、挪威人住第一间房子;
10、抽混合烟的人住在养猫人的隔壁:
11养马人住在抽DUNHILL烟的人旁边;
12、抽BLUE MASTER烟的人喝啤酒;
13、德国人抽PRINCE烟;
14、挪威人住在蓝房子旁边;
15、抽混合烟的人的邻居喝矿泉水。

问题是:哪国人养鱼 ?



"First they ignore u, then they laugh at u, then they fight u, then u will win

Mahatma Gandhi"

作者 Re:只有2%的人回答得了这道题 [Re:jameszhang]
九佰



版主


发贴: 983
于 2004-11-23 08:52 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
没有人养鱼



http://www.teamlet.org

海纳百川,有容乃大
壁立千仞,无欲则刚
智者不惑,勇者无惧
止戈为武,仁者无敌
作者 Re:只有2%的人回答得了这道题 [Re:jameszhang]
jameszhang



CJSDN高级会员


发贴: 1594
于 2004-11-23 08:55 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
怎么看的?呵呵


"First they ignore u, then they laugh at u, then they fight u, then u will win

Mahatma Gandhi"

作者 Re:只有2%的人回答得了这道题 [Re:九佰]
nothing

天外飞仙.....

CJSDN高级会员


发贴: 1636
于 2004-11-23 09:00 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
google , 唉... too old .



躲得过的怪物,躲不过的刺激

作者 Re:只有2%的人回答得了这道题 [Re:jameszhang]
九佰



版主


发贴: 983
于 2004-11-23 09:47 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
答案对吗?
因为问题中没有提到有人养鱼
狗、马、鸟、猫、另外一个也许养的是蜥蜴




http://www.teamlet.org

海纳百川,有容乃大
壁立千仞,无欲则刚
智者不惑,勇者无惧
止戈为武,仁者无敌
作者 Re:只有2%的人回答得了这道题 [Re:jameszhang]
九佰



版主


发贴: 983
于 2004-11-23 09:52 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
呵呵~~
google到是一个好办法!




http://www.teamlet.org

海纳百川,有容乃大
壁立千仞,无欲则刚
智者不惑,勇者无惧
止戈为武,仁者无敌
作者 Re:只有2%的人回答得了这道题 [Re:九佰]
jameszhang



CJSDN高级会员


发贴: 1594
于 2004-11-23 09:57 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
九佰 wrote:
答案对吗?
因为问题中没有提到有人养鱼
狗、马、鸟、猫、另外一个也许养的是蜥蜴

他告诉你了 另外一个养鱼, 问是那国人



"First they ignore u, then they laugh at u, then they fight u, then u will win

Mahatma Gandhi"

作者 Re:只有2%的人回答得了这道题 [Re:jameszhang]
九佰



版主


发贴: 983
于 2004-11-23 11:15 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
住绿房子、德国人、抽PRINCE烟、喝咖啡



http://www.teamlet.org

海纳百川,有容乃大
壁立千仞,无欲则刚
智者不惑,勇者无惧
止戈为武,仁者无敌
作者 Re:只有2%的人回答得了这道题 [Re:jameszhang]
floater

Java Jedi

总版主


发贴: 3233
于 2004-11-23 11:47 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
start from 9, 14 , use 1, 14, 4, we know 挪威人住黄房子
use 5, 8, and 4 we know the order of the colors are 黄蓝红绿白

use 1, 13,12, 6, 7, we know 英国人抽PALL MALL烟,养了一只鸟, and then know 白房子的人抽BLUE MASTER烟, 喝啤酒
use 11, 7, 蓝养马抽混合烟. Now since we 4 cigar locations, the only thing left is 绿 for PRINCE, and by 13, we know it's 德国人
use 15, we know 挪威人喝矿泉水, and thus the only drink left is tea茶. By 3, it's 丹麦人.
Now we know the hosts: 挪威人, 丹麦人, 英国人, 德国人, and 瑞典人

挪威人 has 猫 by 10 and 6, 丹麦人 has 马 by 11, 英国人 has 鸟 by 6, 瑞典人 has 狗 by 2.
So only 德国人 can have 鱼.



"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
- Martin Fowler, Refactoring - Improving the Design of Existing Code
作者 Re:只有2%的人回答得了这道题 [Re:jameszhang]
yqyan

聆听它们振翅的声音



发贴: 376
于 2004-11-23 12:50 user profilesend a private message to usersend email to yqyansearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
爱因斯坦老了,现在人的营养都更好了,也更聪明了,以前就解过这到题,不过现在忘了,不是因为聪明,拿张纸,拿支笔,用点耐心就能解。


作者 Re:只有2%的人回答得了这道题 [Re:jameszhang]
jameszhang



CJSDN高级会员


发贴: 1594
于 2004-11-23 14:44 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
好哇,看来2%的人都在论坛,呵呵


"First they ignore u, then they laugh at u, then they fight u, then u will win

Mahatma Gandhi"

作者 Re:只有2%的人回答得了这道题 [Re:jameszhang]
boynick_1





发贴: 11
于 2004-11-23 16:56 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我推出来的是这样的:
第一间房:黄色--挪威人--养猫--喝水-----抽DUNHILL烟
第二间房:蓝色--丹麦人--养马--喝茶-----抽混合烟
第三间房:红色--英国人--养鸟--喝牛奶--抽PALL MALL烟
第四间房:绿色--德国人--养鱼--喝咖啡--抽PRINCE烟
第五间房:白色--瑞典人--养狗--喝啤酒--抽BLUE MASTER烟
有不同意见的可以交流。呵呵
所以德国人养鱼



作者 Re:只有2%的人回答得了这道题 [Re:jameszhang]
dissip

BigCat



发贴: 240
于 2004-11-23 17:50 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
remind me of gre logic


To live is to fight.

作者 Re:只有2%的人回答得了这道题 [Re:jameszhang]
iceman





发贴: 1
于 2004-11-29 21:28 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
2%的人答对了,看来聪明的人还是很多的嘛



flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923