let the 12 balls be numbered 1,2,3,4,5,...,125.39.217.76) F" I; @/ O% H7 y5 S( `( u
weight 1234 with 56785.39.217.764 \0 t9 c& m' z1 K0 I+ ]
case 1
" v- S# r+ r1 }, r1 H: Xif 1234>5678, then weight 125 with 678
4 s# [4 p5 t$ a( I0 L# C公仔箱論壇if 125>678, then weight 1 with 2
( m0 ]& d" m7 p* J, b. mTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
' f* Z! s5 r$ g. a" d: l4 }if 125=678, then weight 3 with 95.39.217.762 C( ~" w8 c% f4 G! g5 a
if 3=9 it is 4, else it is 3- M- ?9 K1 v6 s6 C! L5 M, @. a0 |1 y8 u
if 125<678, then ewight 3 with 45.39.217.762 I3 m- J& j4 _: m
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4
% b+ s2 h$ h, ]" u. e( G6 jtvb now,tvbnow,bttvb. |; D9 l g" k' k) r
case 2
# i/ \* ?- z' c" P2 iTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。repeat above for 5678 instead of 1234 if 1234<5678
0 A- x- j- C0 k
/ H* W6 s# @, u1 W' C' }5.39.217.76case 35.39.217.764 t% L4 c% V$ z& J0 b1 j6 h
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explainTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。: W5 d3 ]3 u, T9 u S
TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。( h# p( T, m1 p' y
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |