let the 12 balls be numbered 1,2,3,4,5,...,12tvb now,tvbnow,bttvb. B" i- i. E3 L! L- O
weight 1234 with 5678TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。3 e' B {- l- {; y- L i; w
case 1TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。' ~- _! [9 K" Q- @7 u+ W" O) b9 T g
if 1234>5678, then weight 125 with 678公仔箱論壇* `& e o9 @' {. H) U8 s5 e* X
if 125>678, then weight 1 with 2
& z V8 ]/ P: O4 D+ h/ n公仔箱論壇if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
8 m$ r2 `: I3 K; a) Lif 125=678, then weight 3 with 9
+ G! P9 }5 c1 E7 ?: I8 D' c公仔箱論壇if 3=9 it is 4, else it is 3
7 h$ G [0 u' ?& g$ w! Xwww1.tvboxnow.comif 125<678, then ewight 3 with 4) _8 n, g1 C0 y& |8 {) M, {/ j$ k
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4; Z, X( b* _6 s) O% V8 p" O) k: a0 F) f
TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。# |3 O# i! @2 S# M1 I7 s9 p% J+ K
case 2TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。2 h& P- n6 Y2 y+ Y: e0 D+ c$ p
repeat above for 5678 instead of 1234 if 1234<5678
# r1 ~+ E" l' i7 nwww1.tvboxnow.comTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。# u* J9 o% b" Q: R
case 3
' F0 V3 s& M8 Q. h* R" Mtvb now,tvbnow,bttvb1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain1 Z2 Q* a& y. Q: T7 }7 H# E
4 w1 k" ]' V4 \3 O9 q2 |
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |