数学题:如何只用这2个水壶从池塘里取得3升的水
- 时间:2020-05-12 13:38:15
- 分类:数学世界
- 阅读:94 次
数学题:假设有一个池塘,里面有无穷多的水。现有2个空水壶,容积分别为5升和6升。问题是:如何只用这2个水壶从池塘里取得3升的水。
数学题解答:
先装满5升的水壶,然后倒到6升水壶里,再装满5升水壶,再往6升水壶倒满,这样5升水壶就剩下四升水。
然后把6升水壶里的水倒掉,把5升水壶里的四升水倒进6升水壶里,然后再装满5升水壶,再倒入6升水壶。
这样因为6升水壶原先有四升水,现在就只能倒入2升。那5升水壶就只剩下3升水了。
推荐阅读:Compute the Number Spiral Diagonals Algorithms to Group Words by Anagrams Algorithm to Count the Largest Group of Digit Sums How to Delete Columns to Make Sorted Table? How to Check If a Integer is a Strobogrammatic Number? How to Find Pivot Index of Array? The Image Flood Fill Algorithm (C++) How to Clone a Graph in C++/Java using Depth First Search Algori The Unique Morse Code Words Algorithm The Algorithm to Find Anagram Mappings between Two Arrays
- 评论列表
-
- 添加评论