﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-天狼紫枫-随笔分类-转载</title><link>http://www.cppblog.com/sionxu1986/category/4603.html</link><description /><language>zh-cn</language><lastBuildDate>Mon, 19 May 2008 12:23:18 GMT</lastBuildDate><pubDate>Mon, 19 May 2008 12:23:18 GMT</pubDate><ttl>60</ttl><item><title>爱因斯坦的迷题</title><link>http://www.cppblog.com/sionxu1986/archive/2007/06/28/27172.html</link><dc:creator>徐光宇</dc:creator><author>徐光宇</author><pubDate>Thu, 28 Jun 2007 12:35:00 GMT</pubDate><guid>http://www.cppblog.com/sionxu1986/archive/2007/06/28/27172.html</guid><wfw:comment>http://www.cppblog.com/sionxu1986/comments/27172.html</wfw:comment><comments>http://www.cppblog.com/sionxu1986/archive/2007/06/28/27172.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cppblog.com/sionxu1986/comments/commentRss/27172.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/sionxu1986/services/trackbacks/27172.html</trackback:ping><description><![CDATA[<span style="font-size: 10pt;">据说在20世纪初爱因斯坦出了一道迷题，当时98%的人回答不了。题目如下：<br>在一街上有颜色互不相同的五栋房子，不同国籍的人分别住在这五栋房子里，每人抽不同品牌的香烟，喝不同的饮料，养不同的宠物。<br>已知如下情况：<br>1&gt;&nbsp; 英国人住在红房子里；<br>2&gt;&nbsp; 瑞典人养狗；<br>3&gt;&nbsp; 丹麦人喝荼；<br>4&gt;&nbsp; 绿色房子座落在白色房子的左面；<br>5&gt;&nbsp; 绿色房子的主人喝咖啡；<br>6&gt;&nbsp; 抽Pall Mall香烟的人养鸟；<br>7&gt;&nbsp; 黄色房子的主人抽Dunhill香烟；<br>8&gt;&nbsp; 挪威人住第一间房子；<br>9&gt;&nbsp; 五座房子中间的那座，主人喝牛奶；<br>10&gt; 抽Blends香烟的人住在养猫人的隔壁；<br>11&gt; 养马的人住在抽Dunhill香烟者的隔壁；<br>12&gt; 抽Blue Master香烟的人喝啤酒；<br>13&gt; 德国人抽Prince香烟；<br>14&gt; 挪威人住的房子在蓝色房子的隔壁；<br>15&gt; 抽Blends香烟的人有一个喝水的邻居；<br><br>要你回答的问题是：谁养鱼<br><br>我的答案：德国人<br><br>这是2007年6月《程序员》上的一道问题，自己觉得好像很有意思就拿出来给大家分享一下，可惜书上没有给出答案，我只能给出我做的答案，大家可以一起讨论下。<br></span><img src ="http://www.cppblog.com/sionxu1986/aggbug/27172.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/sionxu1986/" target="_blank">徐光宇</a> 2007-06-28 20:35 <a href="http://www.cppblog.com/sionxu1986/archive/2007/06/28/27172.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>