First, randomly select 10 balls out of 12: test 5:5* ~- ?) h: }+ c! f
if(1) same then
5 ], {5 C1 M( m take the heavier part, test 2:2
) g' T+ x8 ?+ S, i$ w; [1 Q if(2) same then- L! q* k V* Z' P! X, c- z
get the last ball with difference weight5.39.217.77$ _6 y9 z9 }6 `& n
else5.39.217.77- N% y# R: w; i; B' _9 ` m
take the heavier part, test 1:1; o7 y, {# }: h N% z$ p
get the ball with difference weight
6 I4 h; [: l# |% P) I. X( t8 t end if(2)* \) [9 q$ n4 `
else
! o# A2 B; Q. o" w! |0 k test another 2 ball公仔箱論壇' _9 \: K9 k" D E4 u6 X/ w) [1 ]
get the ball with difference weight. M8 Q$ q; b7 i
end if(1) |