let the 12 balls be numbered 1,2,3,4,5,...,12
( g: A% }& w$ M+ l" n5.39.217.76weight 1234 with 5678
& W+ b# O7 | w9 c8 H: qtvb now,tvbnow,bttvbcase 1
1 m2 I% N9 {6 A- \& B/ b$ C/ Z公仔箱論壇if 1234>5678, then weight 125 with 6785.39.217.768 Y5 x( R7 Z+ S7 O4 l
if 125>678, then weight 1 with 2TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。7 b8 E, L3 H0 V2 G7 Q/ d, _
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
! h% e# q% g/ Y y, o5.39.217.76if 125=678, then weight 3 with 9公仔箱論壇. b1 |1 |! e ~, {
if 3=9 it is 4, else it is 3
/ m4 N& S1 K6 D) Q, k4 ^tvb now,tvbnow,bttvbif 125<678, then ewight 3 with 4
' N8 j4 h* H/ C0 Y3 m7 P( J9 Sif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4' x9 d0 |; ^2 m& p1 G6 ^/ _
% h" h% X) j/ G5 G0 t5.39.217.76case 2TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。, F5 R* F0 W" e+ c
repeat above for 5678 instead of 1234 if 1234<5678
! x, [5 e) o: ?% n. ^% N1 _tvb now,tvbnow,bttvb) L* U! O7 P8 V& F
case 36 Z" B3 W+ j5 p+ A" g8 O4 M
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain5.39.217.76+ ~' q( a3 G+ j4 h
! C' Z4 ]/ y0 c5.39.217.76[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |