let the 12 balls be numbered 1,2,3,4,5,...,12
/ u5 W0 {' O/ Q: W8 b9 mtvb now,tvbnow,bttvbweight 1234 with 5678
& W: K2 `3 {8 O8 T5.39.217.77case 1
# ^* u% W2 Y; u! [; |, N* HTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 1234>5678, then weight 125 with 678公仔箱論壇/ y2 `: s7 S& e
if 125>678, then weight 1 with 27 C4 t$ D1 A. \" X% {7 o
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2' V0 k/ Q* r! A* r' S! P9 G
if 125=678, then weight 3 with 9
4 ^5 a5 ?" t9 [" @% Y; b2 Utvb now,tvbnow,bttvbif 3=9 it is 4, else it is 3
& G$ @3 `* d+ o2 Rif 125<678, then ewight 3 with 4
' r5 E9 i; z' d* d zTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。* m1 A) j q# U! A l' V% k
8 ^# z! f! Y/ B4 m公仔箱論壇case 2tvb now,tvbnow,bttvb0 @* a2 Z/ w* E. D) |6 M& P
repeat above for 5678 instead of 1234 if 1234<5678
E% [$ C9 Y' n; \' l2 |( m6 r5.39.217.77
! H- t) }" D2 {9 I; d( l1 zcase 3
" G! F4 Q- @9 l+ D- C/ U" l, qTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
, F$ `' O/ c/ ?% T! J' jtvb now,tvbnow,bttvb
4 [0 j: ?4 @8 p3 N0 [tvb now,tvbnow,bttvb[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |