let the 12 balls be numbered 1,2,3,4,5,...,12
+ X: K: g$ j: [, l0 E7 _$ U公仔箱論壇weight 1234 with 5678tvb now,tvbnow,bttvb5 F9 H# u- K! X( k) P
case 1公仔箱論壇( J7 Y5 r3 _8 t( ~' z
if 1234>5678, then weight 125 with 678/ H% E: p3 h' x) H* m7 l" M; k6 u
if 125>678, then weight 1 with 20 s- e" F2 [; I6 E$ Q+ j
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
1 g" Z; w4 F1 w: g' B6 oif 125=678, then weight 3 with 9
+ R9 D$ A# @( }% p( ^4 }: }公仔箱論壇if 3=9 it is 4, else it is 3
7 d2 q' [9 B8 W2 {$ W" \. t; xif 125<678, then ewight 3 with 4
. c) M& I, R) X$ T3 uTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4tvb now,tvbnow,bttvb# j& h) i. ^0 f& c. w4 b2 o
2 d3 g3 H/ }) j6 }
case 2
, d0 S$ l* I0 F( M' O. Srepeat above for 5678 instead of 1234 if 1234<5678TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。+ u, I( B W4 `3 k2 a; o5 L* _- e
: Q, g, {$ r! W" P6 X# bTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。case 3tvb now,tvbnow,bttvb7 c5 W4 X* Y$ ^2 m
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explainwww2.tvboxnow.com5 k$ T7 ^% O% V0 e" L
公仔箱論壇7 X- ^, Q% j/ ?' J, C$ C* B y
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |