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

动态微博

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

瓶子体积比较

[复制链接]

5

主题

155

帖子

1115

积分

楼主
发表于 2005-3-5 11:24:50 | 显示全部楼层

Seven times is enough.


Four comparisons to decide the largest one and the smallest one  among four bottles, which sure can not be the answer. Then three comparisons to decide the middle one among the remaining three bottles. www.ddhw.com
 
Do not know if it is the best.
www.ddhw.com

 
回复 支持 反对

使用道具 举报

5

主题

155

帖子

1115

积分

沙发
发表于 2005-3-5 12:01:24 | 显示全部楼层

Six.


Deleting the smallest one among four bottles is a waste.
Three comparison to decide the largest one among four bottles.
(Compare A and B, then compare C and D; wlog, assume A>B, C>D, compare A and C, assume A>C)


Ignoring the largest one A, we are left
B, E  and C>D.
Compare B and E, assume that B>E; compare B and C, assume that B>C. Compare E and C, the larger one is the 3rd among five bottles. (Six times. )

We did not compare the 4th and 5th. So seven times is enough to sort the list witht 5 members.

www.ddhw.com

 

回复 支持 反对

使用道具 举报

5

主题

155

帖子

1115

积分

板凳
发表于 2005-3-5 13:12:18 | 显示全部楼层

The last sentence is wrong


  The last sentence is wrong




回复 支持 反对

使用道具 举报

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

          本版积分规则

          Archiver|手机版|珍珠湾ART

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