糖果游戏中,桌子上放着黄绿蓝红色四只盒子。黄盒子上写着:糖果不在蓝盒子;绿盒子 上写着:糖果在红盒或者黄盒里;蓝盒子上写着:糖果在此盒里;红盒子上写着:糖...

作者: tihaiku 人气: - 评论: 0
问题 糖果游戏中,桌子上放着黄绿蓝红色四只盒子。黄盒子上写着:糖果不在蓝盒子;绿盒子 上写着:糖果在红盒或者黄盒里;蓝盒子上写着:糖果在此盒里;红盒子上写着:糖果在绿 盒子里。如果只有一个盒子放了糖果,并且只有一个盒子上写的是真话,则装了糖果的盒子是( )。
选项 A.黄盒子 B.蓝盒子 C.绿盒子 D.红盒子
答案 B
解析 由题干可看出黄盒子上的话和蓝盒子上的话存在矛盾关系,不能同假,必 有一真,由只有一个盒子上写的是真话,可得绿盒子、红盒子上写得话均为假,故糖果不在红 盒、黄盒或绿盒里,在蓝盒里,故蓝盒子上写的是真话。
更多 网友评论0 条评论)
暂无评论
错误啦!

错误信息

  • 消息: [程序异常] : MISCONF Redis is configured to save RDB snapshots, but it's currently unable to persist to disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
  • 文件: /twcms/kongphp/cache/cache_redis.class.php
  • 位置: 第 85 行
    <?php echo 'KongPHP, Road to Jane.'; ?>