let the 12 balls be numbered 1,2,3,4,5,...,12公仔箱論壇( p" `0 U' g. [- H, q
weight 1234 with 5678
8 M( k v0 B! }7 z ~1 p5 |* Tcase 1TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。( U9 {9 |8 z! M2 B
if 1234>5678, then weight 125 with 678tvb now,tvbnow,bttvb/ M P, I9 t9 Q4 Z7 K
if 125>678, then weight 1 with 2
& G$ n/ g5 v2 `# vif 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2( R6 k5 \6 _* u' M/ a+ p# S- p4 N1 p
if 125=678, then weight 3 with 95.39.217.76$ G: Z, a$ ]. n4 k
if 3=9 it is 4, else it is 35 l& S; S K& L# P, v/ O2 b* C
if 125<678, then ewight 3 with 4& c! ?" B7 w7 P/ a/ k3 ]' C
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4
3 t" @5 U, p+ D$ Y% @0 N# c; Ctvb now,tvbnow,bttvb公仔箱論壇) Z4 t V5 k! V& z) \6 B( r
case 2
+ P0 s. \% F$ d( s) orepeat above for 5678 instead of 1234 if 1234<5678
8 t0 [4 ~* [0 x; z# j& _. R; Y
$ H- M4 Y- M! \, r& P! |( l: nTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。case 3
2 h# b: B; Q, [7 Y: u- t9 S& Dtvb 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 explainTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。5 O2 c4 d' W+ v' M6 a
M/ v% }# z6 B. {# g7 Y[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |