let the 12 balls be numbered 1,2,3,4,5,...,12; U/ R% W6 }& X, b& m
weight 1234 with 5678
. E/ J. \8 c M# w- P7 U. r/ i0 l Wcase 1
: Y; l; k0 E8 B5.39.217.77if 1234>5678, then weight 125 with 678公仔箱論壇1 b; M# B) U- Y5 `: h6 B
if 125>678, then weight 1 with 2TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。# t3 [6 \7 Y) d
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 25.39.217.77# J9 A& u7 _9 U E; D
if 125=678, then weight 3 with 9
- ~( c2 N. x9 b0 {+ }if 3=9 it is 4, else it is 3公仔箱論壇/ w( x4 b0 |. L9 M; ?* I* Q
if 125<678, then ewight 3 with 4
0 }1 C/ }0 x$ q# F, [TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4
7 w- N+ F$ T9 xtvb now,tvbnow,bttvbtvb now,tvbnow,bttvb% j, g+ a5 M+ F" G
case 2
- v4 G0 i, |3 d d d% B& r5.39.217.77repeat above for 5678 instead of 1234 if 1234<5678
" `2 k$ K- ?: N4 S7 p% ^5.39.217.77tvb now,tvbnow,bttvb0 C0 W' v. W! a% Z
case 3TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。/ U8 y1 g" `, m% P
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain4 |& v( X& C5 o* Z# B
g; l, M- f& x
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |