let the 12 balls be numbered 1,2,3,4,5,...,12' O8 _) ~& x+ T9 [
weight 1234 with 56785.39.217.76; z, E# G! @( Z( O5 O' ?' d7 @
case 1TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。5 r: \ |' y/ R3 T1 X; ?
if 1234>5678, then weight 125 with 678
7 B% w" v3 J2 r7 T2 t! o5 g5.39.217.76if 125>678, then weight 1 with 25.39.217.76! z0 ~9 F$ M9 q
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 21 j) W9 e5 A4 B5 |
if 125=678, then weight 3 with 95.39.217.76! w5 |7 P( ] {6 l$ e$ d0 O2 C% y
if 3=9 it is 4, else it is 3; e2 G- @0 n0 H- |
if 125<678, then ewight 3 with 4: h( A" I. o$ H
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 45.39.217.76% V! }* r) h: h/ z; ^
, n+ J- _# Y' S9 W A( H( a# {
case 25.39.217.76/ c7 ]3 \0 \( F) O7 T" V2 O
repeat above for 5678 instead of 1234 if 1234<5678tvb now,tvbnow,bttvb1 A+ {4 }8 N$ \4 ^ L
tvb now,tvbnow,bttvb0 e& l1 [3 h3 J; v: [0 N7 F
case 3
# M3 f& @6 l W) g公仔箱論壇1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
; B# Z0 z4 l3 s( W5.39.217.76
" G* c3 `; l3 V! ]3 S[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |