First, randomly select 10 balls out of 12: test 5:55.39.217.77" K$ _+ T3 m0 F8 ^. t Y
if(1) same then& f9 W* t- C5 N& I
take the heavier part, test 2:2
: Z6 Y( u/ [: X9 w6 ^# a, S公仔箱論壇 if(2) same then
0 C) a& V# O& d4 x3 E$ `tvb now,tvbnow,bttvb get the last ball with difference weight
4 f, V. q' t& ?" @8 {' t else/ q; H( [+ F6 m( k
take the heavier part, test 1:1
8 N# L( a8 r6 V+ w* `& C9 o5.39.217.77 get the ball with difference weight5.39.217.776 V! v! ?; U8 v/ J% Q$ B; t
end if(2)
5 ?& r- ?) a% G4 Dtvb now,tvbnow,bttvbelse. s. @2 x0 R( E* K& i' q1 s
test another 2 ball
- |/ a, L) e* f$ P9 k) y get the ball with difference weight
; x% b6 Y$ o- e! }& Q6 [公仔箱論壇end if(1) |