First, randomly select 10 balls out of 12: test 5:5
+ n ]% e/ G2 v F! Ktvb now,tvbnow,bttvbif(1) same then
) J; p5 s+ N% Z) N. \2 `! b1 W* qtvb now,tvbnow,bttvb take the heavier part, test 2:2# `$ k; _& r/ I) T# Z7 \
if(2) same then
2 N8 d. O; w5 _ get the last ball with difference weight
8 N( \* Q" e# `1 E8 s( i else
x! Y2 a, R0 @6 F5 |4 X. B5 g: u: ]2 l公仔箱論壇 take the heavier part, test 1:18 F$ F" b% X' [
get the ball with difference weight; s; q8 U2 a4 W T" J$ ]7 T: B
end if(2)
# P6 i* a2 L4 Q6 d5 I: p1 M- q1 l) }TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。else
; T6 L% d8 m3 A. B test another 2 ballTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。) w# G% [+ l W
get the ball with difference weight% M7 y8 U' h" U) \, { Q
end if(1) |