let the 12 balls be numbered 1,2,3,4,5,...,127 a S3 o0 I, V3 ~( t
weight 1234 with 5678公仔箱論壇+ U! X; V; o# e9 J5 \+ _" v, N
case 1- W" s7 {4 ^. N" }( O
if 1234>5678, then weight 125 with 678tvb now,tvbnow,bttvb/ o' @ e4 Q! o" w( h) i" s, X
if 125>678, then weight 1 with 2
. W6 B' D( Y' _" p# l2 vif 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2tvb now,tvbnow,bttvb. g6 Y3 e$ r2 _+ s
if 125=678, then weight 3 with 9
' ^! h* g* Z( l7 D" w) T! xtvb now,tvbnow,bttvbif 3=9 it is 4, else it is 3
! ?1 F( b; w& @( |+ t) x: NTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 125<678, then ewight 3 with 4
- \7 B. a# z/ T1 G# c1 sif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。6 T$ p( E- j, a8 G a
; g O1 y% f1 [; c
case 25.39.217.77:88984 P: b6 {( l3 J
repeat above for 5678 instead of 1234 if 1234<5678
$ h6 N9 }3 O7 z公仔箱論壇
- B# Z: g7 O+ UTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。case 3
7 b* z7 j/ b7 e8 ETVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
$ {8 w/ a E- `* m
' P( Z6 y+ W! X% X2 |* o/ d- B& ^7 RTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |