let the 12 balls be numbered 1,2,3,4,5,...,125.39.217.77:8898; B# B' |7 o7 Z2 S8 P
weight 1234 with 5678
3 M/ b4 U9 z5 H. LTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。case 1tvb now,tvbnow,bttvb- J2 f8 p+ D9 S
if 1234>5678, then weight 125 with 678
( [# e" L* J+ R' Jif 125>678, then weight 1 with 2TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。 A0 }; M0 Q2 S! `3 s# l
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 25 L+ b* Q5 p2 o+ M% {" I" C
if 125=678, then weight 3 with 9
! y, Z: K& x9 K. U8 Yif 3=9 it is 4, else it is 3公仔箱論壇7 O, g0 o' t' D* ?0 ^ R
if 125<678, then ewight 3 with 4TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。" x: d! g! y5 W3 Q5 {# q
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。( J% a! L7 {$ T' w* M5 W" }
9 i; d2 r1 L9 x ccase 2
& _- c" N a) ?, Z, R3 j( STVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。repeat above for 5678 instead of 1234 if 1234<5678
" V) f6 I' x. z# v5.39.217.77:8898公仔箱論壇7 [* \6 {9 k0 G1 e; s) W
case 3
& W; m8 Q. S' n: {1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
$ H0 c. w5 R! l3 y3 u* t. |tvb now,tvbnow,bttvb
& y! X; z( G1 p9 o[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |