找回密码
 立即注册
搜索
总共850条微博

动态微博

查看: 1693|回复: 9
打印 上一主题 下一主题
收起左侧

天平称球[:B]

[复制链接]

456

主题

1770

帖子

2万

积分

跳转到指定楼层
楼主
发表于 2005-6-21 09:58:51 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式

对10个互不相同重量的小球,用一台无砝码天平,最少经过多少次称量,可以排出轻重顺序?
www.ddhw.com

 
回复

使用道具 举报

456

主题

1770

帖子

2万

积分

沙发
 楼主| 发表于 2005-6-23 23:50:35 | 显示全部楼层

回复:能不能讲一下方法,我最多只能到36


1. 3 balls take three times to get them in order from Heavy to Light. Say the order is
1, 2, 3
2. Now use the 4th ball to compare with 2, if it is heavier than 2, compare it with 1, otherwise compare it with 3. So it take 5 times to get 4 balls in order, say the order is 1, 2, 3, 4.
3. Now compare 5th ball with 2, and base on the results compare it with either 1 or 3, 4.www.ddhw.com
It takes 8 times to get 5 balls in order. say the order is 1, 2, 3, 4, 5.
4. Compare 6th with 3 first and then compare it with either 1, 2 or 4, 5. It takes 3 more times to get 6th balls into the order.
... 1, 2, 3, 4, 5, 6, 7
Compare 8th ball with 4 first and then compare 8th ball with 2 or 6. Then compare 8th with the others based on the previous two comparison results. So it take 3 more time to get 8th in order.www.ddhw.com
You can go on  like this and get 25 times to make 10 balls in order.
I think there should be a formula to calculate this. For example:
Number of balls  1 2 3 4 5  6   7  8   9  10 11  12 13 14 15 16  17
Number of times 0 1 3 5 8 11 14 17 21 25 29  33 37 41 45 49  54
It add one more time once the number of balls is 2^n+1 and stays as that until it reaches 2^(n+1)+1.
 
 
www.ddhw.com

 
回复 支持 反对

使用道具 举报

456

主题

1770

帖子

2万

积分

板凳
 楼主| 发表于 2005-6-23 23:55:09 | 显示全部楼层

The question is to use minimum # times to


gurantee to get the balls in order.  9 times can not make sure the balls are in order.
www.ddhw.com

 
回复 支持 反对

使用道具 举报

24小时热帖
    一周热门
      原创摄影
        美食美文
          您需要登录后才可以回帖 登录 | 立即注册

          本版积分规则

          Archiver|手机版|珍珠湾ART

          Powered by Discuz! X3 © 2001-2013 All Rights Reserved