First, randomly select 10 balls out of 12: test 5:5$ j9 h3 n- \5 X! t4 V& k4 d% [
if(1) same then
) O/ }9 G/ `0 [' G公仔箱論壇 take the heavier part, test 2:2
# N9 @. x2 z' q# S公仔箱論壇 if(2) same thenwww3.tvboxnow.com2 L# J8 A& r @
get the last ball with difference weight
) b# L5 o, k: `; r- M& _TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。 else
9 }9 ], f% F" v n" n4 ?1 i公仔箱論壇 take the heavier part, test 1:1
* N) w5 Y9 C! `8 H5 N+ ^+ X) b$ T( Z get the ball with difference weight
9 O. H6 R1 J7 ~' t公仔箱論壇 end if(2)
( U* y3 h( [) G, D& l6 G3 N7 Aelse
! u7 S% L+ y( d+ m test another 2 ball
, C6 h$ n6 Q- O0 ^; r公仔箱論壇 get the ball with difference weightwww3.tvboxnow.com. A% h+ I" O6 O1 U9 x) b1 w
end if(1) |