某洗衣店需要10升洗衣液,现在库房有10桶6升装的、3桶2升装的、7桶1升装的。问库房有几种发货方法,能保证正好发出洗衣店需要的10升洗衣液?()A.3 ...

作者: tihaiku 人气: - 评论: 0
问题 某洗衣店需要10升洗衣液,现在库房有10桶6升装的、3桶2升装的、7桶1升装的。问库房有几种发货方法,能保证正好发出洗衣店需要的10升洗衣液?()
选项 A.3 B.4 C.5 D.6
答案 C
解析 采用枚举法求解。一共有5种方式,如下表: 6升 1桶 1桶 1桶 0桶 0桶 2升 2桶 1桶 0桶 3桶 2桶 1升 0桶 2桶 4桶 4桶 6桶 总计 10升 10升 10升 10升 10升

相关内容:洗衣店,需要,洗衣,库房,方法

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