let the 12 balls be numbered 1,2,3,4,5,...,12
5 g9 s3 F5 l9 z, v5.39.217.76weight 1234 with 5678
& Y: P# n5 L" n$ N+ W$ O ~2 kcase 1TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。$ D5 H, F1 h+ C2 K/ P" W
if 1234>5678, then weight 125 with 678
4 ?: M1 X+ }0 I; y: gtvb now,tvbnow,bttvbif 125>678, then weight 1 with 2TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。' { H) v. r3 D6 F3 R8 d
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2tvb now,tvbnow,bttvb( Z( L' a6 d3 S
if 125=678, then weight 3 with 9tvb now,tvbnow,bttvb4 j. ~# v! h, M) {
if 3=9 it is 4, else it is 3
; w0 t0 I: O2 s5 Q公仔箱論壇if 125<678, then ewight 3 with 4
# {# ] e5 X- a# uTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4tvb now,tvbnow,bttvb& {' D D4 I. l. s( L, W
8 y1 s- M8 @/ U: Acase 2公仔箱論壇1 D4 s* T( T* M$ }1 f
repeat above for 5678 instead of 1234 if 1234<5678
. ?$ G/ R0 r6 r2 utvb now,tvbnow,bttvb
) c% S2 i5 n0 _3 h/ ]1 z3 [tvb now,tvbnow,bttvbcase 3
2 W6 {9 K: S4 K$ ]; ztvb 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,bttvb) e7 z0 W6 o" S2 z' o6 G7 n. [
( |( R. ~6 X- G7 C( o- k& kTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |