文件名称:question

  • 所属分类:
  • 其他小程序
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2014-02-20
  • 文件大小:
  • 1kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • L***
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

诚实族和说谎族是来自两个荒岛的不同民族,诚实族的人永远说真话,而说谎族的人永远

说假话。谜语博士是个聪明的人,他要来判断所遇到的人分别是哪个民族的。

谜语博士遇到三个人,知道他们可能是来自诚实族或说谎族的。为了调查这三个人是什么

族的,博士分别问了他们问题,这是他们的对话g

问第一个人"你们是什么族?",答"我们之中有两‘个来自诚实族。"第二个人说"不要胡

说,我们三个人中只有一个诚实族的。"第三个人昕了第二个人的话后说"对,就是只有一个诚

实族的。"

请根据他们的回答判断他们分别是哪个族的-Honest family and family is lying island from two different ethnic groups, honest family man always tell the truth, but people will never lie to family

Telling lies. Dr. riddle is a clever man, he should be judged by people who are experiencing what the nation.

Dr. riddles encountered three men, knowing that they may be from an honest family or lying family. In order to investigate what these three individuals are

Family, Dr. separately asked them questions, it is their conversation g

The first person to ask, "What are you family?" A. "There are two of us were from an honest family." The second man said, "Do not Hu

That we have only one in three people honest family. "Xin third after a second person then says," Yes, there is only one honest

Real family. "

Please answer according to their judgment is what they were family
(系统自动生成,下载前可以参看下载内容)

下载文件列表





question.c

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org