let the 12 balls be numbered 1,2,3,4,5,...,12
& x9 [* c2 M. \; H2 Mos.tvboxnow.comweight 1234 with 5678
2 R- o0 s6 |6 u/ Q0 i# z' {公仔箱論壇case 14 b' o W3 V3 Z g
if 1234>5678, then weight 125 with 678
0 b" D3 h5 H6 Z1 a+ \- w; Iif 125>678, then weight 1 with 2( U8 e" ?3 Q, l- D) l
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
; F* Z- T6 h% y+ [tvb now,tvbnow,bttvbif 125=678, then weight 3 with 9
( z) n' ~' J' x# A/ O2 d* Mos.tvboxnow.comif 3=9 it is 4, else it is 3, Q0 O* X$ l: I, I6 ]
if 125<678, then ewight 3 with 4
6 P/ c5 E6 d w& H4 c7 _$ Ntvb now,tvbnow,bttvbif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。7 o/ k& D/ V/ g/ c
0 Q% F. A% P q/ M* t2 aos.tvboxnow.comcase 24 K" A- M+ E2 @ n+ L% x0 I
repeat above for 5678 instead of 1234 if 1234<5678: \1 ~* |4 J) g7 `
8 j2 L* _7 O! w4 e q# xcase 34 S1 g' v$ f) b. [/ n7 K4 r
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
# w$ H2 k9 d: K# R5 V) x K* ytvb now,tvbnow,bttvb
3 m+ b, K% p9 q7 [: _TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |