文件名称:coin
-
所属分类:
- 标签属性:
- 上传时间:2015-12-22
-
文件大小:1kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
在n枚外观相同的硬币中,有一枚是假币,并且已知假币与真币的重量不同,但不知道假币与真币相比较轻还是较重。可以通过一架天平来任意比较两组硬币,设计一个高效的算法来检测出这枚假币。-N pieces of the same in the appearance of the coin, there is the ever- counterfeit money, counterfeit money with real money and are known to the weight of different, but I do not know the counterfeit money with real money compared to lighter or heavier. You can compare two sets of coins through an arbitrary scale, design an efficient algorithm to detect While counterfeit.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
coin.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.