有编号为1-13的卡片,每个编号有4张,共52张卡片。问至少摸出多少张,就可保证一定有3张卡片编号相连?( )A. 27 张 B. 29 张 C. 3...

作者: tihaiku 人气: - 评论: 0
问题 有编号为1-13的卡片,每个编号有4张,共52张卡片。问至少摸出多少张,就可保证一定有3张卡片编号相连?( )
选项 A. 27 张 B. 29 张 C. 33 张 D. 37 张
答案 D
解析 根据最不利原则,将编号卡片尽量分成三个一组:(1,2,3) (4,5,6)(7,8,9) (10,11,12)(13),最不利的情况是取出(1,2)(4,5)(7,8)(10,11)(13),每个编号的卡片各取4个,此时只需要再摸出一张卡片,就能保证有3张卡片编号相连,即至少摸出的卡片张数为4x9 + 1 = 37(张)。

猜你喜欢

更多 网友评论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.'; ?>