First, randomly select 10 balls out of 12: test 5:5 # n4 t: y8 F7 X( ~% k( y! V公仔箱論壇if(1) same then 5 {2 ~( }/ u2 Y# n& Wtvb now,tvbnow,bttvb take the heavier part, test 2:2 & W/ Y) {, @/ o k/ b, j6 @ if(2) same thentvboxnow.com a0 i- v" f, f E' e1 _
get the last ball with difference weight |9 K9 H7 }% C- S: ^) a! r公仔箱論壇 elsetvboxnow.com2 Y3 |. F9 Q" R% N- `
take the heavier part, test 1:1 ) W9 E. _% W( D$ X A+ }# F- s get the ball with difference weight + K3 Y! E! ~ b, W3 `8 {tvb now,tvbnow,bttvb end if(2)tvb now,tvbnow,bttvb# E. I. E+ }( W. \' L8 r w: ?* U) w
else ) S( Z1 ~ E* ^' }tvboxnow.com test another 2 ball 3 L& i6 \* B9 }& b" ?) B4 m+ n! F公仔箱論壇 get the ball with difference weight 0 ]3 I3 ?* k- N0 U6 fend 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