First, randomly select 10 balls out of 12: test 5:5
, x, i0 Z9 }9 K( aif(1) same then
, J6 H8 l# Z+ I8 _2 m1 k2 r% T公仔箱論壇 take the heavier part, test 2:2tvb now,tvbnow,bttvb. K3 E; v7 Y( i* I! q3 o" [. v4 a; e
if(2) same then
+ e5 x5 I5 \* k+ T- P" M5.39.217.76 get the last ball with difference weight5.39.217.76 k, c' }" y; t% }
else
7 ^+ |$ W1 o' ^( [; }1 ~+ g公仔箱論壇 take the heavier part, test 1:1
3 q3 t' K) t M7 D" }5 n9 c1 @# [ get the ball with difference weight公仔箱論壇7 O4 u1 [5 f2 g- m }/ o
end if(2)
. e. `8 X2 O0 M( }, N2 O1 g' G" ]elseTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。. W. Z$ G' A. Y9 {- y: ?& n
test another 2 ball: e# m" F& ~( h4 Q# r J
get the ball with difference weight
, d$ |' P" q1 K0 T# _2 r公仔箱論壇end if(1) |