First, randomly select 10 balls out of 12: test 5:5tvb now,tvbnow,bttvb. e2 \$ S( X2 {) a& O* `6 g
if(1) same thenTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。! \+ |% A1 b3 j0 T/ |! F
take the heavier part, test 2:2
( }0 E: Y- j }9 x4 b# b5.39.217.77 if(2) same then
. k/ U9 q7 R! a( x2 s, D公仔箱論壇 get the last ball with difference weight
1 u' i) V& W4 G' z8 d! ]- E: H/ ]8 xTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。 elsetvb now,tvbnow,bttvb0 Y7 ^5 Y4 Z/ U- M
take the heavier part, test 1:1
$ t0 H1 C( J7 Y5 n. E: v8 K5.39.217.77 get the ball with difference weight' n; P; Z2 f2 ]2 I7 h9 [8 z
end if(2)5.39.217.77# ]8 i- \4 f# ^9 }0 t3 o
else
2 d$ N# c P Z% U& Q! g test another 2 ball
- a( @% g8 V K6 n& p# {; Utvb now,tvbnow,bttvb get the ball with difference weight
$ l( G/ r( P. p+ F3 m4 O! R7 fend if(1) |