let the 12 balls be numbered 1,2,3,4,5,...,12公仔箱論壇, W' a2 ?: _, d E0 C# [; R
weight 1234 with 5678/ ^ O, }5 M6 t# N1 i) d
case 1
7 j6 s" D, `( XTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 1234>5678, then weight 125 with 678www3.tvboxnow.com8 B N( l+ t: k8 ?: Y4 J
if 125>678, then weight 1 with 2
. L! r" L: p3 K" Y1 kTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2公仔箱論壇2 z2 a& }6 U4 j: o3 F* q! _! [
if 125=678, then weight 3 with 9
) u. b/ S9 l( X* a0 O: ~5 a# o6 v公仔箱論壇if 3=9 it is 4, else it is 3
: I9 L' X5 m4 V3 WTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 125<678, then ewight 3 with 46 x2 ^& `5 Y' ?& t" U0 P( m- c2 d
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4
# J: p# V% e% @9 I& Z7 pTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。
8 {. H' ~( Z3 b/ `tvb now,tvbnow,bttvbcase 2! m4 l# H4 {5 g* e' t5 g* ^, {! L
repeat above for 5678 instead of 1234 if 1234<5678
+ f% ? a& b* C( j: D0 Qwww3.tvboxnow.com
4 I. ~8 U6 B7 V) J公仔箱論壇case 3www3.tvboxnow.com$ c/ \1 T( N, z! x4 L2 C
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain R7 b2 z Q! |
0 _8 K. X1 L; L' N: U# stvb now,tvbnow,bttvb[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |