小明去商店买大米,发现有三种包装,分别是1斤装,2斤装,5斤装,他想买10斤,请问一共有多少种不同的买法。 A. 3 B. 5 C. 7 D. 10

作者: tihaiku 人气: - 评论: 0
问题 小明去商店买大米,发现有三种包装,分别是1斤装,2斤装,5斤装,他想买10斤,请问一共有多少种不同的买法。 A. 3 B. 5 C. 7 D. 10
选项
答案 D
解析 本题考查枚举法。买2个5斤装为1种方法,买一个5斤装有3种方法;买0个五斤装的情况下,买2斤装的情况有5种;只买1斤装的情况有1种。所以共有1+3+5+1=10种。因此,本题答案为D选项。

相关内容:小明,商店,大米,包装,1斤装,2斤装,5斤装,共有,买法

猜你喜欢

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