let the 12 balls be numbered 1,2,3,4,5,...,127 f" p4 O6 y) I' V9 P: V
weight 1234 with 56785.39.217.76* E8 ~3 u% x' }: T8 H0 p
case 1
K# A& i/ f; W公仔箱論壇if 1234>5678, then weight 125 with 678TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。( ~; K$ O2 g* Q. U
if 125>678, then weight 1 with 2
- n6 P) [$ ?* G* y, L$ J! Rif 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
3 v& G8 g4 J+ m+ B2 r公仔箱論壇if 125=678, then weight 3 with 9* A* @" M1 o$ n% l B2 H' W8 S
if 3=9 it is 4, else it is 3tvb now,tvbnow,bttvb; Z# y5 p; U/ n' U% d8 k& c
if 125<678, then ewight 3 with 44 }" a2 f7 A5 U2 L, Y( [) C
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 45.39.217.769 ]4 a$ y4 |8 w, J- d! k
# z y3 o- ]3 U# \TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。case 2
+ @/ s8 J+ D- C公仔箱論壇repeat above for 5678 instead of 1234 if 1234<5678TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。" H4 V2 O$ k5 x( @
s) q5 G6 H. G" v$ p ucase 3
1 K, c& ]; F: R1 e( i5.39.217.761234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain |, {4 N4 d2 J8 y0 O
TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。- i2 H& e; `( o/ b; M6 V
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |