let the 12 balls be numbered 1,2,3,4,5,...,12
' B4 B5 [0 s- i Y3 h& [. y" p0 Htvb now,tvbnow,bttvbweight 1234 with 5678
# ^' }; t% ~0 Q- w7 [ H; D `www2.tvboxnow.comcase 1tvb now,tvbnow,bttvb( D0 h7 {4 Z3 a; [* \
if 1234>5678, then weight 125 with 678
r* m: ]9 [7 s+ zif 125>678, then weight 1 with 2公仔箱論壇- m, G' @2 r3 C: h% V" e2 m
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。! G# P. |. [& f; o( [, V( `
if 125=678, then weight 3 with 9TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。6 |& X4 `" n7 d6 q( Z7 l9 Z
if 3=9 it is 4, else it is 3公仔箱論壇4 \. ~6 a/ y7 ~$ k' [: c* V9 H/ i6 W+ A
if 125<678, then ewight 3 with 4
2 c' D! {8 R9 S" {! YTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。. P, ^0 ?) D2 D: O
* h7 S) q% x- D+ n# s: A6 ?; T5 Y% DTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。case 2tvb now,tvbnow,bttvb q+ a' k+ K- O0 Q3 o. a* ]' F5 K8 X
repeat above for 5678 instead of 1234 if 1234<5678tvb now,tvbnow,bttvb }$ y/ \* c, c
8 \6 r+ l, K+ v. Z) A) r
case 3
' M/ c( ~1 c+ L5 Q. [% h公仔箱論壇1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
* P4 T# z& c" R9 g2 E6 R) c' F
3 d. |6 T" o; ? _7 t4 H公仔箱論壇[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |