First, randomly select 10 balls out of 12: test 5:5" d" d7 }0 b3 }, u
if(1) same thentvb now,tvbnow,bttvb, `' S; E% [, J+ j T, P& n
take the heavier part, test 2:2tvb now,tvbnow,bttvb) r( @9 y$ f. e+ \
if(2) same then公仔箱論壇& x1 l" q+ I- \ W
get the last ball with difference weight5.39.217.77:8898% S9 n; n, b {8 @
else
5 x. e6 }( |! W# K" r8 rtvb now,tvbnow,bttvb take the heavier part, test 1:15.39.217.77:8898" b. S- R6 Y1 p: z6 h+ e4 q
get the ball with difference weight
+ ^$ x; L" M7 W) h8 W公仔箱論壇 end if(2)
) {0 D, U* I' Telse
* ]' Y- Y2 ^5 v! k B5.39.217.77:8898 test another 2 ball
6 V/ @; A# T, ]! L6 |/ f get the ball with difference weighttvb now,tvbnow,bttvb+ O6 k0 a& Y4 W2 h8 M
end if(1) |