三个空酒瓶能换一瓶啤酒,现在有 50 个空瓶子,问最多能换多少瓶啤酒?

作者: tihaiku 人气: - 评论: 0
问题 三个空酒瓶能换一瓶啤酒,现在有 50 个空瓶子,问最多能换多少瓶啤酒?
选项
答案 25
解析 解析:其实,每喝一瓶酒就有一个酒瓶,换种方法思考,假如,一开始我们就用两个酒瓶换一瓶酒,喝完酒后就把瓶只压在那里,那也算是 3 个酒瓶换一瓶酒,因为题目中并没有说明一定要在换酒之前先给瓶子(所以大家也不用死扣着 3 个空瓶换一瓶酒的字眼),所以我们也可以一开始就用两个空瓶换一瓶酒,换完最后一瓶酒喝完后就直接压在那里。(也就是说,喝完最后一瓶酒后,没有剩下空瓶)所以就是:502=25

相关内容:三个,酒瓶,能换,啤酒,个空,瓶子,问最

猜你喜欢

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