let the 12 balls be numbered 1,2,3,4,5,...,12. M2 _1 A* w$ V! l, M
weight 1234 with 5678
" r3 `+ T) z6 |# Y公仔箱論壇case 1
; {( F0 j7 R2 }1 B, Y7 K1 gif 1234>5678, then weight 125 with 678tvboxnow.com: D$ a5 \' \0 \. a
if 125>678, then weight 1 with 27 X+ f' s6 h4 ^, p: e
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2公仔箱論壇0 E, V3 D/ p+ W" M( r: x% L
if 125=678, then weight 3 with 9tvb now,tvbnow,bttvb! S: n, y |3 c; n# v
if 3=9 it is 4, else it is 3
7 U4 j4 ~) A w0 |. K! J& ztvb now,tvbnow,bttvbif 125<678, then ewight 3 with 4
. T/ K9 }" P- w( M0 otvb now,tvbnow,bttvbif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。: e4 n1 d; X, I6 @) g# z: v5 |
& h6 d: t. m4 k {4 ^0 l! s% uTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。case 2+ Z' O. o& N6 q7 n: c Z( X2 y
repeat above for 5678 instead of 1234 if 1234<5678TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。* i* X) \& z2 I1 c2 }0 Q1 ? J
/ e1 t: N0 u% M+ }0 C; ?' R7 y4 K公仔箱論壇case 3
8 \4 \9 G1 b% i! {& z7 a, {1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
* l0 u- v) A3 Q1 E, Q! F公仔箱論壇
2 F& C( r: d. B/ t# p[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |