毛毛骑在牛背上过河,他共有甲、乙、丙、丁 4头牛,甲过河要20分钟,乙过河要30分钟,丙过河要40分钟,丁过河要50分钟。毛毛每次只能赶2头牛过河,要把4...

作者: rantiku 人气: - 评论: 0
问题 毛毛骑在牛背上过河,他共有甲、乙、丙、丁 4头牛,甲过河要20分钟,乙过河要30分钟,丙过河要40分钟,丁过河要50分钟。毛毛每次只能赶2头牛过河,要把4头牛都赶到对岸去,最少要多少分钟? A.190 B.170 C. 180 D.160
选项
答案 D
解析 毛毛骑过河用时最短的甲牛赶其他牛过河,首先赶乙牛过河需要30分钟,骑甲牛返回对岸需要20分钟;再赶丙牛过河需要40分钟,骑甲牛返回对岸又需要20分钟;最后赶丁牛过河需要50分钟。此时所有的牛均过了河,总共需要的时间是30+20+40+20+50=160分钟。

猜你喜欢

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