let the 12 balls be numbered 1,2,3,4,5,...,12 M) \3 ]4 ~+ t w6 Z# g- v7 G
weight 1234 with 5678公仔箱論壇, o' V1 M+ t+ W- C8 b
case 1
3 t3 ]- k/ O6 m0 R% otvb now,tvbnow,bttvbif 1234>5678, then weight 125 with 678TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。9 Q& N) U0 U$ T' b
if 125>678, then weight 1 with 2
, b. P" Y/ V7 [0 \ \, Ztvb now,tvbnow,bttvbif 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
" c# x! C/ M. |; {! [+ ^% h% }/ zif 125=678, then weight 3 with 9
: I5 ^ a4 z' W4 z6 ]! Yif 3=9 it is 4, else it is 3公仔箱論壇2 A) d* a9 V' K
if 125<678, then ewight 3 with 4
/ D9 T0 |, |8 @! E9 r. O9 E1 H5 Iwww3.tvboxnow.comif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4www3.tvboxnow.com# P8 l6 C6 P, g& d9 I
! y$ ?3 n) r& i: o0 C q8 V+ qcase 2公仔箱論壇& k5 ~' M+ p' ?% S4 U
repeat above for 5678 instead of 1234 if 1234<5678
0 w5 w) e2 m. A* ]. swww3.tvboxnow.com公仔箱論壇4 y% M5 j( c% r( \7 Q8 i
case 3
4 t) ?( e$ ?8 R5 x公仔箱論壇1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain$ A7 b C& e/ N& ~# G& S
公仔箱論壇& {! C/ o! [6 f" b- l/ n
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |