let the 12 balls be numbered 1,2,3,4,5,...,12
* W; z- O; r0 e, @, r8 h$ V7 r% x' kweight 1234 with 5678& Z6 a$ ?; s$ C8 k/ \1 A& d
case 17 ^0 \8 m+ A2 l6 Z2 Q0 ?3 q4 A
if 1234>5678, then weight 125 with 678www2.tvboxnow.com" m1 ~: y, F# u7 t' `
if 125>678, then weight 1 with 2$ i/ p. R$ k# M7 K, l
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
B) \% Y1 i* a' z vif 125=678, then weight 3 with 9
' t6 E4 [# A( X& T7 J- W7 |TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 3=9 it is 4, else it is 3TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。' C7 `: B3 w7 E2 T% x+ Y9 A
if 125<678, then ewight 3 with 4
5 @) m+ {3 G0 ?8 Z" S w' j+ s3 G& QTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4
8 L5 `6 C3 j8 H2 utvb now,tvbnow,bttvbwww2.tvboxnow.com8 d9 m- Z" k. n1 l8 [4 o
case 2公仔箱論壇7 w3 q- H# }8 W) [2 H, S
repeat above for 5678 instead of 1234 if 1234<5678
6 J+ f# i d2 Y) H% h% N公仔箱論壇% [$ j6 G! v: f! }8 f+ p
case 3
' c: q. H. l/ L& |tvb 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 explain
: K7 ]6 ]+ n, w- T# j; VTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。4 u6 M9 T: y7 u
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |