苹果和筐子平均分配

  • 时间:2020-04-08 13:55:35
  • 分类:数学世界
  • 阅读:165 次

有一个水果批发点剩下5整筐和5个半筐苹果,还有5个空筐子,有三个人来进货。在既不准称,又不准倒的情况下,你能把苹果和筐子都平均分给三个人吗?

解题思路:苹果和筐子都平均分配的关键是先分好苹果,而空筐子则要视每个人在分苹果时已得到几个筐而做出相应的调整。

5整筐和5个半筐合在一起就是七筐半,也就是7.5筐,所以三个人每人可分到2.5筐。其中有两个人可以分到2筐加半筐,而另一人则分到1整筐加三个半筐。此时前两个人在分苹果的过程中都得到了三个筐,所以他们各再分到2个空筐,最后一人在分苹果时得到了四个筐,所以最后剩下的一个空筐理所应当就归他了。至此,苹果和筐都得到了平均分配。

推荐阅读:
How to Construct Binary Search Tree from Preorder Traversal in P  Dynamic Programming Algorithm to Compute the Block Sum in a Matr  Smallest Multiple Algorithm using Bruteforce or GCD/LCM  How many different ways can £2 be made using any number of coins  Compute Factorial Digit Sum: Find the sum of the digits in the n  Compute the Maximum Integer Right Triangles Solutions  Power Digit Sum: What is the sum of the digits of the number 2^1  Digit factorials: Find the Sum of All the Curious Numbers  Computing the Longest Recurring Cycle in its Decimal Fraction Pa  How to Use Priority Queue in Java or C++ to Compute Last Stone W 
评论列表
添加评论