let the 12 balls be numbered 1,2,3,4,5,...,125.39.217.765 D( J. f! Y% q0 x" p# {
weight 1234 with 5678tvb now,tvbnow,bttvb. U( h) p' L6 s
case 1
. x% ^! |8 p! Hif 1234>5678, then weight 125 with 6781 j$ I3 I7 Q, A
if 125>678, then weight 1 with 2" I. b! m$ c- d# q
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2/ Y; N& h8 y& ]& S. x9 s1 X0 b
if 125=678, then weight 3 with 9
7 L. }8 g1 ?) J/ R5.39.217.76if 3=9 it is 4, else it is 3
, P* C4 y9 M9 |' w! Q& B3 dif 125<678, then ewight 3 with 4
6 u* k; e+ R" t( E5 ^4 a% `if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4; ^& N8 O% h) I( n- [
5.39.217.76$ A; a$ Q( ?9 y* m
case 26 b' S. f0 S$ R( U- C
repeat above for 5678 instead of 1234 if 1234<5678tvb now,tvbnow,bttvb$ I, n& _: J/ i" i9 w
3 Y4 [. J7 U1 }$ G- F* ~% q
case 35 ^ p4 Z0 |; d, F7 J# o+ Y+ R4 c
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain, s1 d8 y! K# W3 _; f( h Q0 M
5.39.217.769 R3 e# [. ^, Q1 \" G
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |