标题:对编程有兴趣的朋友来做这道题目试试!
只看楼主
沉默的抗议
Rank: 1
等 级:新手上路
帖 子:13
专家分:0
注 册:2005-6-10
 问题点数:0 回复次数:1 
对编程有兴趣的朋友来做这道题目试试!
对编程有兴趣的朋友来做这道题目试试! You have been given 2 special, extremely rugged Xboxes. You are in an office building that is 100 stories high. Using the fewest possible number of drops from windows in your office building, determine the highest floor you can drop an Xbox from and have it survive: for example, they might be able to take the drop from the 30th floor, but not the 31st. You can break both Xboxes in your search. State the worst case number of drops needed and explain how you arrived at that answer. 你在一幢100层的办公楼里上班,现在给你两台xbox(已经特意捆绑包扎好),要求你用尽可能少的试摔次数来判断xbox摔不坏的最高楼层层数。比方说,从30层丢下来没问题,但从31层丢下来就不保了。在摸索过程中,允许把两台xbox都砸烂。 详细解释你的答案和思路。
搜索更多相关主题的帖子: windows 兴趣 You building 
2005-06-10 06:46
hwbnet
Rank: 1
等 级:新手上路
威 望:2
帖 子:355
专家分:0
注 册:2004-12-9
得分:0 
最好的方法:作弊。

胡文斌 本人论坛:http://hwbnet.bbs./
2005-06-10 18:21



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-20524-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.087185 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved