First, randomly select 10 balls out of 12: test 5:5
. R D6 S# d5 B+ BTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if(1) same then公仔箱論壇) W9 e* p* \7 x. m& |/ i
take the heavier part, test 2:2
4 [. y! Y' A0 b& h8 n2 i; e: ^: x if(2) same then* h/ h$ Y- T: P. n3 Z, f% j- a
get the last ball with difference weight公仔箱論壇7 i3 C5 x% ^+ w$ u$ A' b1 F3 T5 R
else1 _4 o6 Y# Q4 s, l" P3 \: Q, B
take the heavier part, test 1:1
- @8 c9 O& v: J get the ball with difference weightTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。3 `$ \- W! q: l( |; }& `4 S
end if(2)TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。# A/ \* ^+ g$ H1 U: {
else
2 X. ~. p3 K' f8 O# ]% Z% T/ s test another 2 ball
/ S+ ^, k- P9 W, P get the ball with difference weighttvb now,tvbnow,bttvb4 s* T! U9 I1 e1 a$ c7 G: J
end if(1) |