let the 12 balls be numbered 1,2,3,4,5,...,12
/ R) m3 A4 u4 y! cTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。weight 1234 with 5678公仔箱論壇+ B2 m$ k# U3 O7 d) Q
case 1tvb now,tvbnow,bttvb# W6 [9 W, q7 S Z }; K( {
if 1234>5678, then weight 125 with 678
" r( C( e* X$ ~$ F8 q% [if 125>678, then weight 1 with 2
z c( X5 u' V8 Bos.tvboxnow.comif 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
$ x, m7 _5 A4 V$ G, Uif 125=678, then weight 3 with 9+ u1 }5 X% C1 I7 x* _! K" G3 L
if 3=9 it is 4, else it is 3
- k5 d5 Y4 x. \% @7 f3 H公仔箱論壇if 125<678, then ewight 3 with 45 g+ b) c4 I' m3 a
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 46 O! d9 ]3 j# E8 q
- g0 a5 M2 [* d4 K0 U% M. Stvb now,tvbnow,bttvbcase 2tvb now,tvbnow,bttvb) n7 i9 j0 _% d
repeat above for 5678 instead of 1234 if 1234<5678公仔箱論壇* f! v# d' ]3 f% n% m6 a% x# N
' V6 k G1 i: s# t& [5 G" B3 Atvb now,tvbnow,bttvbcase 3
0 D& m( C- p4 E( j8 [& U ]tvb 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 explain公仔箱論壇! U" Z7 o5 k8 _7 }
公仔箱論壇0 s6 ~3 t5 O& T. l% @
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |