let the 12 balls be numbered 1,2,3,4,5,...,12
# e8 L* e6 U- g0 C$ G" r' f) Q5.39.217.76weight 1234 with 5678公仔箱論壇6 @% E5 X \; ?, f
case 1) M5 \+ e; y, B
if 1234>5678, then weight 125 with 678公仔箱論壇 Q1 Q+ ^1 Q( M. U
if 125>678, then weight 1 with 2公仔箱論壇* L, p2 G B% N! ?
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 25 e C7 Z9 X9 E; V: s
if 125=678, then weight 3 with 9
4 u3 d9 e5 z+ M) g1 g5.39.217.76if 3=9 it is 4, else it is 3tvb now,tvbnow,bttvb# z/ }1 [# b" ^" ~5 b& E T
if 125<678, then ewight 3 with 4
! b1 K$ P' j$ \if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4; B: c3 i+ l+ d" }0 L; Z
5 B1 `5 r6 @2 P6 ?3 U4 }公仔箱論壇case 2公仔箱論壇: d4 S }$ z. }) N# ?: e/ C; K" G
repeat above for 5678 instead of 1234 if 1234<56785.39.217.76( C0 w" i- ^: D5 `3 b5 c; M
4 H6 ?( Y- Q& K- j7 {6 L4 bcase 3TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。3 {$ f2 }* W" `: N! X9 l
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explaintvb now,tvbnow,bttvb: r# I! S; ?$ _+ p8 m
TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。7 V9 N* T: {/ Y% ~
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |