let the 12 balls be numbered 1,2,3,4,5,...,12
- z( } [4 g- s% H$ a# Utvb now,tvbnow,bttvbweight 1234 with 5678
6 q8 n( M( b& X* f+ \/ i t" S' Mwww2.tvboxnow.comcase 1
4 _' H) I+ l% t3 o公仔箱論壇if 1234>5678, then weight 125 with 6782 h2 d. I5 N. k# P; [! d
if 125>678, then weight 1 with 2TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。: T& z4 a, q! L: G
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2www2.tvboxnow.com3 s- H0 l! ]! c3 s( n7 D
if 125=678, then weight 3 with 9
, y1 k/ {3 U1 g/ Z, K7 W# u4 STVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 3=9 it is 4, else it is 39 ?) f& P! H! ^- q- R
if 125<678, then ewight 3 with 4
) n% m0 z5 O& g) c% B' |# wif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4, C- `" D A- Y' G
2 _5 o& B( w+ }* n. w" |2 S+ }( _
case 2
, u: i9 L! y2 ~3 g& v) lTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。repeat above for 5678 instead of 1234 if 1234<5678公仔箱論壇+ U& s! v/ ~* P5 |3 H$ z* e8 S
TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。# f0 O+ o7 d7 Y9 m7 U
case 3
+ C0 o9 ^3 M: ?. _公仔箱論壇1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
' F! |! f& W* s3 D5 h
) Q; y' k) S$ f5 N7 u) e/ N( R' a9 Q# Btvb now,tvbnow,bttvb[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |