let the 12 balls be numbered 1,2,3,4,5,...,12公仔箱論壇" j" Q" a4 i- t s+ H2 \0 k$ D
weight 1234 with 5678/ D. l* B6 \. T9 `! ?+ ]/ d
case 1
+ i3 s; D. j; |公仔箱論壇if 1234>5678, then weight 125 with 6785.39.217.77: Q Q$ M+ A5 m7 w' n& g( ~
if 125>678, then weight 1 with 2
A; r: M* o9 D. O: G6 t5.39.217.77if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2公仔箱論壇. X; j) }# X' M& F
if 125=678, then weight 3 with 9公仔箱論壇1 T; V( w4 c* W. w3 V9 w% W5 s/ _
if 3=9 it is 4, else it is 3TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。/ O* {- ?5 Z$ \ v! l; v
if 125<678, then ewight 3 with 4
5 a6 ~' u& @! M- |; Tif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 46 n7 B' X9 F- |. B+ J/ v
5.39.217.77 d, t# \. h4 z! x9 Z
case 2* M E/ h6 L1 ^" a% {0 s
repeat above for 5678 instead of 1234 if 1234<56785.39.217.77" i8 b2 _3 z( K1 \5 i% ?5 D
: u E$ K% N6 C1 |0 U& f8 z& Z公仔箱論壇case 3
/ W2 ]! _$ y1 m公仔箱論壇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, J$ z- R3 g9 @* U" T
TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。1 H: g) `3 {4 R- d. x
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |