let the 12 balls be numbered 1,2,3,4,5,...,12tvb now,tvbnow,bttvb. n9 d3 {8 T6 U; ~- V
weight 1234 with 5678) o: b5 j5 L) v) {
case 1/ t8 J6 v2 }$ s8 `) x& R- g3 Q
if 1234>5678, then weight 125 with 678tvb now,tvbnow,bttvb" N$ z$ T3 `+ h, I5 p
if 125>678, then weight 1 with 2
; f: `6 q8 C8 J, v$ _公仔箱論壇if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 21 r1 P' `3 f) w2 `' L: Z
if 125=678, then weight 3 with 9www1.tvboxnow.com+ k& |2 c% X' n$ l8 m- M
if 3=9 it is 4, else it is 3TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。1 R4 c- G- o; M7 n7 w% Z! t, a
if 125<678, then ewight 3 with 4
$ B7 T/ g5 }9 r0 t4 zTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4! D( j- p" l* i; h
$ s6 b) Y$ F5 P' x; {+ R6 m公仔箱論壇case 2
( S# b& @! S! ]# d B+ i3 h* \www1.tvboxnow.comrepeat above for 5678 instead of 1234 if 1234<5678
1 M* D$ M: J6 Awww1.tvboxnow.com( d# t: p, ^1 X b+ y8 d+ m
case 3
2 S7 B, r, @1 p2 |( W$ A5 {" }' Htvb 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 explaintvb now,tvbnow,bttvb5 `0 O) g) E2 S F
; R1 |7 a i2 z3 i7 n9 T: r" L% y4 ]TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |