let the 12 balls be numbered 1,2,3,4,5,...,12
; q4 A) m- K( S- q) C$ t: fweight 1234 with 5678TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。& ~) [, v% z/ ?
case 1
# T/ Q; V O- a2 Z公仔箱論壇if 1234>5678, then weight 125 with 6780 C# ]& P5 ?3 P, W! ^( {3 k- X
if 125>678, then weight 1 with 25.39.217.77- a" b7 _( M7 K6 u& c/ y
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
( L+ G4 K7 S: Q0 O8 h$ xif 125=678, then weight 3 with 94 x& y1 ^: |- Z) E2 V
if 3=9 it is 4, else it is 3tvb now,tvbnow,bttvb+ y( I3 c) X: k5 K/ E$ A
if 125<678, then ewight 3 with 4' v- E6 t* T/ h/ S
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4
5 g$ p1 t, ~4 c; R( X: Itvb now,tvbnow,bttvb5.39.217.77# D. _' i4 h j" l4 V4 G9 A
case 2
& l8 n% L$ Y6 [/ k6 l" N5.39.217.77repeat above for 5678 instead of 1234 if 1234<5678tvb now,tvbnow,bttvb( Q# R$ K B& _8 d
. p1 I3 p7 k4 d6 Z# @tvb now,tvbnow,bttvbcase 3TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。2 j/ R" _( J( p! ~) e
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.77* e- W q2 a+ P# M$ c$ m
5.39.217.77: r- o/ j6 O1 p
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |