CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
山寨机中的战斗机! 程序优化工程师到底对IT界有没有贡献
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  软件培训/认证/考试 >  IT认证

谁有本事~?!

楼主womy(womy)2003-06-03 01:26:25 在 软件培训/认证/考试 / IT认证 提问

A   father   tells   his   two   children,   a   boy   and   a   girl,   to   play   in   their   backyard   without   getting   dirty.   However,   while   playing,   both   children   get   mud   on   theri   foreheads.   When   the   children   stop   playing,   the   father   says   "At   least   one   of   you   has   a   muddy   forehead",   and   then   asks   the   children   to   answer   "Yes"   or   "No"   to   the   question.   What   will   the   children   answer   each   time   this   question   is   asked,   assuming   that   a   child   can   see   whether   his   or   her   sibling   has   a   muddy   forehead,   but   cannot   see   his   or   her   own   forehead?   Assume   that   both   children   are   honese   and   theat   the   children   answer   each   question   simultaneously.  
  Solution:   Let   s   be   the   statement   that   the   son   has   a   muddy   forehead   and   let   d   be   the   statement   that   the   daughter   has   amuddy   forehead.   When   the   father   says   that   at   least   one   of   ther   two   children   has   a   muddy   forehead   he   is   stating   that   the   disjunction   "s   or   d"   is   true.   Both   children   will   answer   "NO"   the   first   time   the   question   is   asked   because   each   sees   mud   on   the   other   child's   forehead.   That   is,   the   son   knows   that   d   is   true,   but   does   not   know   whether     s   is   true,   and   the   daughter   knows   that   s   is   true,   but   does   not   know   whether   d   is   true.  
          After   the   son   has   answered   "NO"   to   the   first   question,   the   daughter   can   determine   that   d   must   be   true.   This   follows   because   when   the   first   question   is   asked,   the   son   knows   that   "s   or   d"   is   true,   but   cannot   determine   whether   s   is   true.   Using   this   information,   the   daughter   can   conclude   that   d   must   be   true,   for   if   d   were   false,   the   son   could   have   reasoned   that   because   "s   or   d"   is   true,   then   s   must   be   true,   and   he   would   have   answered   "Yes"   to   the   first   question.   The   son   can   reason   in   a   similar   way   to   determine   that   s   must   be   true.   It   follows   that   both   children   answer   "Yes"   the   second   time   the   question   is   asked.  
  问题点数:0、回复次数:1Top

1 楼suntiger(windows2000超级补丁)回复于 2003-06-03 14:42:12 得分 0

好多单词不认得!Top

相关问题

  • Delphi的问题,谁有本事解答??!!!
  • 容易?有本事的进来看看!!
  • 散分,有本事别进来
  • 大放分,有本事来拿!
  • 200分大赠送!有本事的来抢!!!!!
  • 大学生请进,有本事的请进
  • 最后的分,看谁有本事拿啊!
  • 有本事来看看ATL中的这道宏!
  • 要分还不容易,就看你的本事了。
  • 随有本事就来拿分,关于dll文件的调用

关键词

  • forehead
  • children
  • son
  • daughter
  • answer
  • has a muddy
  • question
  • asked
  • father
  • whether

得分解答快速导航

  • 帖主:womy

相关链接

  • CSDN Blog
  • 技术文档
  • 代码下载
  • 第二书店
  • 读书频道

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
北京创新乐知广告有限公司 版权所有, 京 ICP 证 070598 号
世纪乐知(北京)网络技术有限公司 提供技术支持
Copyright © 2000-2008, CSDN.NET, All Rights Reserved
GongshangLogo