First, randomly select 10 balls out of 12: test 5:5
0 O( J( d9 \& V3 q5 c9 ]0 A% yif(1) same then
# t& l( r8 l# i% D3 B' \2 g$ |公仔箱論壇 take the heavier part, test 2:25.39.217.76/ a2 m7 f/ F- g( g5 k3 ]4 _9 B
if(2) same then
, \: a9 G) _4 [+ }( Q/ { get the last ball with difference weight公仔箱論壇. S& i" r0 G+ b& B( {
else
# w1 S& e) W7 a& o G take the heavier part, test 1:1
/ |( V$ v3 X4 J. Q! ~( J- f( o' w1 e- x公仔箱論壇 get the ball with difference weight
" x: \) b! Q6 g- e3 E* {6 F: ~2 V end if(2)
( x- K- ~7 Y: T3 t2 qtvb now,tvbnow,bttvbelse公仔箱論壇9 G' `9 [7 o; _$ q
test another 2 ball
# D) P! ?$ D& S& D9 s+ i5.39.217.76 get the ball with difference weight
* d5 f* o* k5 A; O5.39.217.76end if(1) |