let the 12 balls be numbered 1,2,3,4,5,...,12
" [: I* Y3 e: @+ w$ [+ n( j& `5.39.217.76weight 1234 with 5678
$ @$ W _: J1 j+ W' Y' P0 Dtvb now,tvbnow,bttvbcase 1 ]0 e h" I9 ?) h
if 1234>5678, then weight 125 with 678
+ b3 U+ O/ h7 G$ @! I0 t5 yif 125>678, then weight 1 with 2TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。. ?! C$ f* r# U' B7 h
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
* p* [0 b3 o, S2 D" s7 T0 P% d6 `5 atvb now,tvbnow,bttvbif 125=678, then weight 3 with 9
6 `7 d$ C' t+ D* yTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 3=9 it is 4, else it is 35.39.217.764 Z) D) C* k* v5 G
if 125<678, then ewight 3 with 4
/ F& ^* z, x1 f0 o$ a- t; Tif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4tvb now,tvbnow,bttvb' e$ u. @% G. r
2 C+ g8 T5 g/ n, U/ X5.39.217.76case 25.39.217.76; g0 {7 E8 e: M8 N3 E D6 {
repeat above for 5678 instead of 1234 if 1234<5678tvb now,tvbnow,bttvb2 U* P2 a( T( w- G9 [
5 t5 U& O0 ~/ L( x( ^
case 3
}& ?3 v- N* E5 f5 K2 C5.39.217.761234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain! [; ^! I$ ?1 y B' v4 {" w
5.39.217.76* a0 K7 x6 t) t$ O- n, b
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |