First, randomly select 10 balls out of 12: test 5:5 . \; v. p) o- e7 ]! l" V: |) Eif(1) same thentvb now,tvbnow,bttvb3 q! L4 x* o4 i% U
take the heavier part, test 2:2 5 G B/ K- a% f6 {/ ^+ n& I if(2) same then6 J8 H2 y/ ^/ `3 c
get the last ball with difference weight2 V/ s# X0 t1 a$ O9 T
else* H* S& T K) E1 J5 x+ I l0 w& d
take the heavier part, test 1:1 ( D& A$ x2 s o& r* {5 \ get the ball with difference weight 8 v: z% ~) Y0 s! @- J- E5 M8 rwww3.tvboxnow.com end if(2) x: B+ V4 v- P; R V
elsetvb now,tvbnow,bttvb6 W% n$ h6 D7 a- M% m; y
test another 2 ball) f" P& Y8 \! \' c3 J
get the ball with difference weighttvb now,tvbnow,bttvb5 x- y, R" C Z. f
end if(1)作者: mkperr 時間: 2009-10-15 07:52 AM
answer, please.作者: kk4321 時間: 2009-10-15 02:25 PM
thanks for sharing!!!!!作者: btdownloads 時間: 2009-10-16 11:34 AM