let the 12 balls be numbered 1,2,3,4,5,...,12
2 j2 g% B, ?4 F3 ]2 X8 otvb now,tvbnow,bttvbweight 1234 with 5678公仔箱論壇( j4 C2 [6 b2 m0 e6 a, W
case 1
; v4 d5 X) p" w+ F) Lif 1234>5678, then weight 125 with 678
4 Q" m O' [4 d3 jtvb now,tvbnow,bttvbif 125>678, then weight 1 with 2
6 U5 S. x* w3 W% nTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2公仔箱論壇+ D1 }+ l' V; H. P4 u
if 125=678, then weight 3 with 9TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。. c) \! w3 u) @/ [/ |
if 3=9 it is 4, else it is 3公仔箱論壇; o2 X' q5 A8 m- Q! j
if 125<678, then ewight 3 with 48 S$ z* t D, l1 w( s4 j+ b1 c
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4
! Q& c. Q' u; P# a6 t: ~公仔箱論壇
- |( e/ T9 Z, q4 V7 I5 C& G/ C' g公仔箱論壇case 2公仔箱論壇+ j$ ^. e" m( I1 a
repeat above for 5678 instead of 1234 if 1234<5678
/ p8 f/ z& T y- Y, [8 l
+ M* }7 @! Z, f$ @7 b公仔箱論壇case 3" f9 v" w3 e$ x+ ]6 r0 z9 u. c
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain, k6 _* K" B9 V
# ^& ?1 r1 ]1 f0 S, [
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |