First, randomly select 10 balls out of 12: test 5:5
3 A! [6 B- {; q公仔箱論壇if(1) same then R: k7 V& Q5 P* Z
take the heavier part, test 2:2tvb now,tvbnow,bttvb8 b! z( Z. g/ N9 }) `7 _
if(2) same then
4 A3 I' V, p$ L/ k公仔箱論壇 get the last ball with difference weight
- k& n8 e: k. g/ w4 i7 K0 gtvb now,tvbnow,bttvb else
, G" y# i) e2 Z( W9 M6 ?) P& [公仔箱論壇 take the heavier part, test 1:1tvb now,tvbnow,bttvb B" p* V3 Q& U, s
get the ball with difference weight
& U2 G. m# H, l! C8 v" o+ S end if(2)tvb now,tvbnow,bttvb% ^" u# {. q3 z3 Z
else
+ H4 U( Y1 u) S$ y test another 2 ball5.39.217.77' g6 i/ u" N' @, H; |
get the ball with difference weight
" p2 v# l9 y# X4 Zend if(1) |