数学题:如何只用这2个水壶从池塘里取得3升的水
- 时间:2020-05-12 13:38:15
- 分类:数学世界
- 阅读:106 次
数学题:假设有一个池塘,里面有无穷多的水。现有2个空水壶,容积分别为5升和6升。问题是:如何只用这2个水壶从池塘里取得3升的水。
数学题解答:
先装满5升的水壶,然后倒到6升水壶里,再装满5升水壶,再往6升水壶倒满,这样5升水壶就剩下四升水。
然后把6升水壶里的水倒掉,把5升水壶里的四升水倒进6升水壶里,然后再装满5升水壶,再倒入6升水壶。
这样因为6升水壶原先有四升水,现在就只能倒入2升。那5升水壶就只剩下3升水了。
推荐阅读:Algorithm to Compute the Revenue Milestones How to Modify the Git Commit Messages After Your Push Your Branc Personal Cloud Options to Backup Data and Photos Greedy Algorithm to Find the Lexicographically Smallest Sequence ReactiveX/RxJava Tutorial: Compute the Fibonacci Numbers using R What are Big4 Tech Companies looking for in the technical interv Design a Moving Average Class for Data Stream 3 Ways to Protect Your Website from Negative SEO Algorithm to Check if A String Matches a Pattern How to Get Free HTTPS Certificates via acme.sh?
- 评论列表
-
- 添加评论