let the 12 balls be numbered 1,2,3,4,5,...,12公仔箱論壇8 g" \: m+ I1 k/ ~
weight 1234 with 5678
7 E% N1 U1 T0 F* I0 y' ~TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。case 1
% L0 f, K, t$ T: z9 bTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 1234>5678, then weight 125 with 678
. J# ~% D2 V$ | Otvboxnow.comif 125>678, then weight 1 with 2公仔箱論壇7 L ?6 N& h+ ^" ~" M5 I+ o
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2公仔箱論壇* |3 \4 ^& |- {5 q
if 125=678, then weight 3 with 9& ^1 t: c' ~8 E
if 3=9 it is 4, else it is 39 P3 O( A- E3 t& ]3 e4 ~
if 125<678, then ewight 3 with 4
" T3 g1 d; I7 ]$ Utvboxnow.comif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4% @$ _/ `8 h4 F( @* _; D
: y$ Y, B9 R' _3 utvboxnow.comcase 2
/ D2 L/ i7 W" {$ K. A9 Crepeat above for 5678 instead of 1234 if 1234<56786 m `& l! b0 S8 D- a
- U4 B/ B2 @' N1 r: ?case 3
* v ]3 H: l& d/ `/ d4 Y/ s# Vtvb now,tvbnow,bttvb1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain6 @1 a1 L# D& W9 b" [
公仔箱論壇' U6 ]2 z; R) K, e, p* Z, Y
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |