First, randomly select 10 balls out of 12: test 5:5$ s* B& y" M$ d- U+ n3 O
if(1) same then1 Y; R% H5 k& g9 \1 H+ D
take the heavier part, test 2:2tvb now,tvbnow,bttvb2 m s; B8 j( H2 S4 l
if(2) same then j- J- l) ^+ V
get the last ball with difference weight: b. j$ {* h8 s3 u! x, G
else
; L; X- s, l( O: a9 Ntvb now,tvbnow,bttvb take the heavier part, test 1:1
: u3 C6 i ~6 l9 A4 V; j6 s get the ball with difference weight/ }3 E, B. Y1 V$ @, T
end if(2)公仔箱論壇1 a1 b; C7 j8 S
else: t: p0 [( q# s" L3 P. Z9 D& Y
test another 2 ball
$ P V! d1 L0 O5 @2 Y* H9 k5.39.217.77 get the ball with difference weight
5 I0 @$ V, d1 R3 Ltvb now,tvbnow,bttvbend if(1) |