First, randomly select 10 balls out of 12: test 5:5
: V) H+ n8 H4 V% C6 aif(1) same thentvb now,tvbnow,bttvb: a8 \6 p+ [1 |; A
take the heavier part, test 2:2
x" D9 q; N5 e& w, S" t8 Xtvb now,tvbnow,bttvb if(2) same then
+ M6 `3 m! p# N. Y5 b [4 c5 X5.39.217.76 get the last ball with difference weight5.39.217.769 [# r$ T) P& u1 |- `- V6 a3 A- v
else
. @; N3 g1 U" KTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。 take the heavier part, test 1:1" u$ _; g9 }! b0 _' E6 B
get the ball with difference weightTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。% x5 s8 x4 l; c6 N- S1 {4 |
end if(2)
: m7 ?8 z+ [/ ?, ^TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。elseTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。' U7 g1 K' @- U) s) y/ h) y
test another 2 ball5.39.217.76! r- e/ }! s1 ~; W/ \+ ^0 l
get the ball with difference weight
* X% g* t0 L! ~3 \end if(1) |