let the 12 balls be numbered 1,2,3,4,5,...,12
6 `8 c; ^5 p3 z3 k4 e5 j3 \公仔箱論壇weight 1234 with 5678TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。$ J4 D1 m0 _& a8 r+ K
case 1公仔箱論壇5 `3 o+ a& u6 \3 o- X$ o- ?/ u
if 1234>5678, then weight 125 with 678
+ |; r1 r2 W3 y' L6 S6 y o% m公仔箱論壇if 125>678, then weight 1 with 2tvb now,tvbnow,bttvb6 @" P" L/ m* |5 {- ]
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
3 E: |% v& S! V( ]0 z% S- Wtvb now,tvbnow,bttvbif 125=678, then weight 3 with 9
+ {* W4 U& E9 _- {7 V$ u$ s6 V( |公仔箱論壇if 3=9 it is 4, else it is 3os.tvboxnow.com5 Z; v% D0 i9 C/ d; o. ?: `
if 125<678, then ewight 3 with 4TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。8 u+ I, I! f! c/ z2 f4 N5 f4 g
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4
; }5 ^; ]; F; H公仔箱論壇6 _* r% F6 u0 \, G+ C0 w) `. G
case 2os.tvboxnow.com: y( n8 O7 h& S
repeat above for 5678 instead of 1234 if 1234<5678
4 w3 n* }: h# G' T" } s* z& z' Ttvb now,tvbnow,bttvb公仔箱論壇/ [1 F+ @8 s n0 k$ ^' z
case 3
5 K- q2 \7 m/ F8 j( _2 i1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain7 a" A0 r, q1 t' }7 ~* w, k
os.tvboxnow.com7 U5 O0 ~# w+ ~* [+ ]: u( H
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |