http://en.wikipedia.org/wiki/Binary_search_algorithm
3次即可。不过表扬一下你的认真精神 :)
13-》6,6-》取重的那6个,3,3-》取重的那3个 1,1
http://en.wikipedia.org/wiki/Binary_search_algorithm
3次即可。不过表扬一下你的认真精神 :)
13-》6,6-》取重的那6个,3,3-》取重的那3个 1,1
•
binary search要预先排好顺序才行;此题不知次球轻重,第一步后不知在哪6个里
-说的好-
♀
(0 bytes)
()
12/30/2012 postreply
22:14:38
•
后來想通了,真的是三次,喜歡這种推理題。自己也不時做相似的。
-梁山sl-
♂
(0 bytes)
()
12/31/2012 postreply
07:40:33
•
我居然把题看错了,以为次品是重球。
-SunshineInCA-
♀
(0 bytes)
()
12/31/2012 postreply
17:30:39
WENXUECITY.COM does not represent or guarantee the truthfulness, accuracy, or reliability of any of communications posted by other users.
Copyright ©1998-2025 wenxuecity.com All rights reserved. Privacy Statement & Terms of Use & User Privacy Protection Policy