let the 12 balls be numbered 1,2,3,4,5,...,12
* M% _' p( Z9 o o5.39.217.77:8898weight 1234 with 5678tvb now,tvbnow,bttvb: j, H" S: w0 F3 g
case 15 E D6 F, X3 \& T6 y1 I& A* \; |
if 1234>5678, then weight 125 with 678公仔箱論壇' g- x" u2 E# ^; E/ \' S2 }
if 125>678, then weight 1 with 2
& Q3 d& r( x7 p# h) ^5.39.217.77:8898if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
4 K: B$ j" ]) Nif 125=678, then weight 3 with 95.39.217.77:88987 O- e& o% \' a% `" z; p
if 3=9 it is 4, else it is 3! q9 H2 C, a* W5 l9 i2 A, ^
if 125<678, then ewight 3 with 4
$ G2 m& \9 ^7 m% K: g) s5.39.217.77:8898if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4
. B* {$ {& p# R, A" C4 A y0 c8 ]tvb now,tvbnow,bttvb
' R/ L: ?9 m: _6 s# x5 Bcase 2公仔箱論壇" P) a. i" A' l6 q7 l( I8 t7 ~
repeat above for 5678 instead of 1234 if 1234<5678tvb now,tvbnow,bttvb" Z% n6 s6 Y+ i+ v
# u% d0 L$ v& ]公仔箱論壇case 3TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。. o2 S+ _6 z4 g3 R& d& a- W6 v4 v
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain' ]$ A, O- V7 o7 t9 H. c: f
! B0 S& ]' c1 D8 D) c' O0 M( s5.39.217.77:8898[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |