First, randomly select 10 balls out of 12: test 5:5 9 K$ V$ S. h9 ?' D3 t' D5.39.217.77:8898if(1) same then5.39.217.77:8898 O/ u7 k, [' f" m9 t
take the heavier part, test 2:2 ) |$ s5 a- d- r% y& e3 L+ w5 N if(2) same then % K; H! @3 L+ Z# f8 ] \5.39.217.77:8898 get the last ball with difference weight ! k% z& E; w) i2 A公仔箱論壇 else + \/ \6 I4 L* Y/ h9 |% c4 Rtvb now,tvbnow,bttvb take the heavier part, test 1:1) [8 V1 D0 @; G7 T. }; u
get the ball with difference weighttvb now,tvbnow,bttvb8 m9 e3 s9 H6 x5 O/ Z" {
end if(2)5.39.217.77:88980 Z( K! w% Y! l& S
else公仔箱論壇 }" W. P0 V; Z) K; v! \/ G/ s
test another 2 ball " i! P2 `9 g8 F) g2 K' M$ c get the ball with difference weight公仔箱論壇2 j3 U) Z) w; b; ? q# A
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