let the 12 balls be numbered 1,2,3,4,5,...,12
$ L* z& M: K7 l7 K& ^" fweight 1234 with 5678os.tvboxnow.com/ U) B) L% N# @0 p
case 1/ ?: j8 [( R$ p; l$ G$ @ w. D0 Z
if 1234>5678, then weight 125 with 678TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。& L: R) ~ K' R5 h" O I* p' g+ _
if 125>678, then weight 1 with 2
* v( E) x' h3 S9 kif 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2os.tvboxnow.com* k& Y8 |5 w' u! O2 Q
if 125=678, then weight 3 with 9TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。3 N+ `$ }4 D/ h
if 3=9 it is 4, else it is 3! D9 t2 ^. j+ h, y$ N- n, l; S
if 125<678, then ewight 3 with 4TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。8 f' n1 B: {% T2 j8 N) M
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4公仔箱論壇* K ~) {, | J D
& K8 u" s9 }0 L7 PTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。case 2
+ Z6 s$ r; l. A7 q6 Lrepeat above for 5678 instead of 1234 if 1234<5678
V2 \$ {& \, ^# X& u/ b- E; E# c v5 N4 j
case 33 J* ^, S; s# p
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explaintvb now,tvbnow,bttvb" o1 d( [+ ~! W# x; Z. T6 R
& a* q6 V. |4 D1 R7 y* f( y' L& `/ b& k公仔箱論壇[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |