First, randomly select 10 balls out of 12: test 5:5
1 z" n8 j& H+ j% n X5.39.217.77:8898if(1) same then4 v2 k$ u" Q+ k$ U* g2 w4 d
take the heavier part, test 2:2
0 M# `$ V7 v% x5 e6 ^# j& [tvb now,tvbnow,bttvb if(2) same then. N+ w# }& W3 X
get the last ball with difference weight
: V2 P8 s3 r! H else
u! y/ h6 i6 C8 p g' Z5.39.217.77:8898 take the heavier part, test 1:1
! M8 N* v0 S: `: ]tvb now,tvbnow,bttvb get the ball with difference weighttvb now,tvbnow,bttvb9 l% n. F f' n D+ S9 y4 K' f
end if(2)公仔箱論壇# u* p) j1 ^7 _( x6 d; N
else5.39.217.77:88985 h% I4 H* L! ^4 M- n3 L. C! V
test another 2 balltvb now,tvbnow,bttvb+ m: Z0 V7 K: z ^* s% \9 q
get the ball with difference weight- u$ Z( {2 A) }( t/ {- v
end if(1) |