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