let the 12 balls be numbered 1,2,3,4,5,...,12
7 ]: ~ w4 Z* S0 T4 N4 Qwww3.tvboxnow.comweight 1234 with 5678tvb now,tvbnow,bttvb: I& P1 M: S: g8 S2 H. j
case 1www3.tvboxnow.com% ?" ?# w; R7 ?1 u. ]
if 1234>5678, then weight 125 with 678
0 w% W1 ]; d! ]; D6 kwww3.tvboxnow.comif 125>678, then weight 1 with 2& e0 M- H) Q* Y& i
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2公仔箱論壇6 q7 g h8 H' [4 `3 c
if 125=678, then weight 3 with 9
& E% G" n3 f& i# {; jif 3=9 it is 4, else it is 3TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。' `$ e% b8 \1 w
if 125<678, then ewight 3 with 4
3 i# l' I! [2 U" S& G2 s3 Yif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 49 S# q- }9 S. z8 h& A( R
' Z! {* L! r% u6 x$ swww3.tvboxnow.comcase 2$ [' S2 y3 r' E( \7 E
repeat above for 5678 instead of 1234 if 1234<5678
7 p% H0 @" o( B& l2 h3 k5 r( ETVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。+ o: F* _% F( x2 {! E& K: B
case 32 ]) Q' p+ A* A: q3 N4 J% f
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explainTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。5 G! h* k; L/ ^ p. r- G
www3.tvboxnow.com0 }2 b" }( D, ]/ ]' D n" u5 ?, t
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |