First, randomly select 10 balls out of 12: test 5:5
5 L$ v5 b& Z8 Yif(1) same thentvb now,tvbnow,bttvb) g& p# I. a2 k T% [+ T
take the heavier part, test 2:2
0 s5 P/ i$ ~- r" w2 E5.39.217.77:8898 if(2) same then3 w ?& U, _. Q5 P
get the last ball with difference weight% K0 E' A$ }" h2 N) j" ^
else
. j0 _' _' M& Z take the heavier part, test 1:1
; J& F3 V8 n `$ ]; ?) T& {5.39.217.77:8898 get the ball with difference weight
) j% j5 ~, T1 L: _! btvb now,tvbnow,bttvb end if(2)
) w" S( g; _. w/ O. a8 w; Welse
2 G# W6 A3 F) a/ ]$ }0 o5.39.217.77:8898 test another 2 ball
7 @( j# B: E" h, k公仔箱論壇 get the ball with difference weight
6 ?$ {- ~1 I1 J: dTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。end if(1) |