let the 12 balls be numbered 1,2,3,4,5,...,12公仔箱論壇* m: L, J* k; ?/ h0 B1 I
weight 1234 with 56785.39.217.77. F5 ?. x7 o4 P/ n$ V
case 1
( R) _/ J. f3 { P- i6 X& N3 ^( ]tvb now,tvbnow,bttvbif 1234>5678, then weight 125 with 678公仔箱論壇0 e1 \* k: z- N# F6 P
if 125>678, then weight 1 with 2
! ^2 Q! X ?: P) z' p2 y# O% }9 b' aif 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
6 @* ^4 T; p+ h3 n4 a$ X/ ?2 a7 itvb now,tvbnow,bttvbif 125=678, then weight 3 with 9TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。& U% k5 K) G9 i7 ^- q( s @
if 3=9 it is 4, else it is 35.39.217.771 K$ \: {$ I. `# o0 o0 ~
if 125<678, then ewight 3 with 4
7 X8 c9 E* o& H- T5 K( F; ^$ ]5 Q公仔箱論壇if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4' m: W5 n# @; k2 F3 P. k) S
公仔箱論壇& a8 J3 `' I! w5 N! I0 f! |: u- a
case 2
6 ~+ Q5 y6 k1 s+ K% @repeat above for 5678 instead of 1234 if 1234<5678公仔箱論壇0 M- r. p+ _5 A, i1 W" S3 ~, ?- K
8 Q) I6 k/ l- u" a2 a0 }TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。case 3! C% O- o8 _/ y* K
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
' _0 u0 N; g+ ]2 ?4 i, D
; N' M+ Z( I3 q" C& w[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |