First, randomly select 10 balls out of 12: test 5:5公仔箱論壇; L/ p# h w) z; r
if(1) same then; G3 `2 u( \# ~9 z( _0 X" E
take the heavier part, test 2:2 $ C0 Y9 A2 K, B& n, h if(2) same then 3 T2 m& ?6 e: ]0 s, k6 p8 Rtvb now,tvbnow,bttvb get the last ball with difference weight 4 `' t6 N5 I+ Qtvb now,tvbnow,bttvb else5.39.217.77:8898$ g, K7 d7 P, q3 n7 Y4 z0 o' I
take the heavier part, test 1:1 1 h- b: M: _ k8 h; M2 | get the ball with difference weight) u7 f5 Z2 M# P" U/ ^5 R
end if(2) ; L2 o! M( Z7 P, velsetvb now,tvbnow,bttvb O7 P$ ?8 D- ~' {2 S8 p) s& l0 H
test another 2 ball : k) S% o# @/ Q: I1 S/ \4 R5.39.217.77:8898 get the ball with difference weight+ l. T; \* r# S8 f' I4 u+ { ^
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