称螺丝的数学题
- 时间:2020-04-24 15:44:06
- 分类:数学世界
- 阅读:94 次
称螺丝的数学题:有9个螺丝,其中8个质量相同,另1个质量略轻一些。用天平称,至少称多少次才能保证找出这个比较轻的螺丝。
解答过程:
至少要称2次可以称出来。
第一次称:
把把9个平均分成3份,每份3个。
两个托盘中各放3个螺丝,哪头轻,说明轻的那个螺丝就在哪边;如果天平是平衡的,说明轻的螺丝在剩下的3个之中。
第二次称:
再把那个3个螺丝平均分成3份,每份一个。
两个托盘,左右各放一个,哪头轻,说明那个螺丝就是轻的。如果平衡,说明最后剩下的那个螺丝是轻的。
推荐阅读:The Contiguous Binary Array with Equal Numbers of Ones and Zeros Microbit Programming: Showing a Running Pixel on the LED How to Print Immutable Linked List in Reverse using Recursion or The Most Useful Tools for Reverse Phone Lookup How to Solve the WIFI (Wireless Networks) Intermittency Issues? How to Reverse a Linked List in Javascript? Bash Function to Check if a Kubernetes Pod Name is Valid VBScript Function to Convert an Integer to Binary String Represe Find Maximum Connected Colors (Values) in a 2D Grid using DFS or Algorithms to Shift a 2D Grid/Matrix In-Place
- 评论列表
-
- 添加评论