let the 12 balls be numbered 1,2,3,4,5,...,120 E, G8 _. h- V1 z
weight 1234 with 5678
8 q% y8 C& t. K; M2 y v, A% {0 t, y, ycase 1公仔箱論壇1 K/ |! I1 g, F7 }* Q- o
if 1234>5678, then weight 125 with 6786 L6 ~) [; ]( O, [3 V4 w5 s0 N
if 125>678, then weight 1 with 2
+ k* S7 n4 [8 n" dTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2公仔箱論壇1 g$ Y! e/ v" L, X4 m; T! D; l0 X
if 125=678, then weight 3 with 9/ e. p1 ^" a8 \& c' |8 n1 H* p. e% e
if 3=9 it is 4, else it is 3# }' u; [, K; X- a4 G$ p
if 125<678, then ewight 3 with 4% N$ e. `# _ [& `# G
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。. B- F) `8 u/ R4 q
公仔箱論壇" [: C# h6 I; f) o9 Y
case 2& m% ] B2 `. T0 \1 C. W
repeat above for 5678 instead of 1234 if 1234<5678
! ~; s9 b3 s; [TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。
* `7 u- A" n8 Q* ]1 X9 h+ Mcase 3www3.tvboxnow.com) T3 m" w/ y9 J# w& A" v
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explainTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。! T0 h* Z. k; z3 D6 Z& c! O
( x2 _7 k& x% C4 d2 T% H: dtvb now,tvbnow,bttvb[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |