Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
为便于理解,给组反例,详见内.In Reply To:我的方案;每个硬币一个权重 遇到平衡时,每一个硬币一定为真币(让其权重为“无穷小”)。每遇到一次不平衡时,每一个币都受怀疑,权重加一 (见正文) Posted by:peterpan at 2005-10-12 02:26:46 1 ABCD EFGK up EFDL ABGK up GHIJ EFDK up 正确答案显然是: K is the counterfeit coin and it is light. 而你的程序是: D is the counterfeit coin and it is light. (第1个碰到的权重最大的硬币.) Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator