First, randomly select 10 balls out of 12: test 5:5
5 U5 X" {) o: x M7 y4 y1 s1 E公仔箱論壇if(1) same then
6 E/ j# K* G/ `. j# {7 s2 R公仔箱論壇 take the heavier part, test 2:2
$ B3 P' N. {' O0 l if(2) same then
& ]! X$ r9 V, p- K& d5 l; b get the last ball with difference weight
' V, H) N7 \7 r+ w/ X% }6 w. \ elseTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。5 l/ W, {4 R( _$ o" R
take the heavier part, test 1:1
& l& A* V- f8 b: e& G; }2 I get the ball with difference weight
( T8 l7 @3 u) _$ O# R2 e2 }1 l2 E公仔箱論壇 end if(2)
( T; k' R1 i1 _( y I WTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。elseTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。2 j: M, t7 X& _( p7 D; I
test another 2 ball
* H1 k. l& W! r9 j8 S/ [) ?0 g% Y get the ball with difference weight
& Y& [! z' g' Z! _3 V% O5.39.217.76end if(1) |