let the 12 balls be numbered 1,2,3,4,5,...,12: J! _, ^2 q. G' ]8 H* z
weight 1234 with 5678公仔箱論壇: a; K; T, p- B: \! \4 g9 ^! E
case 1/ v/ q- ]0 _% P+ s A
if 1234>5678, then weight 125 with 678
/ M2 ]( T1 w2 E2 |% Z公仔箱論壇if 125>678, then weight 1 with 2TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。! H4 j: g. s& r" `3 A
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 25.39.217.763 ]- z, E6 Y( g9 }! D. e$ y+ o, X T
if 125=678, then weight 3 with 9
) J! R* @3 M7 T, V4 P/ Kif 3=9 it is 4, else it is 3
5 Z( c @6 K+ w7 s2 I( n4 E0 A, Y公仔箱論壇if 125<678, then ewight 3 with 4
7 n) X# l0 e/ U+ ]tvb now,tvbnow,bttvbif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。+ k2 f& e/ G6 k
0 C# h! z! X. A: y* O; q8 Z
case 2
6 g3 I% L* E' x" g+ y. L公仔箱論壇repeat above for 5678 instead of 1234 if 1234<5678
4 j4 R0 R c. J5.39.217.76
6 ?( S. ?' z5 x4 s5 @' MTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。case 3
" d+ E9 a! h/ Ftvb now,tvbnow,bttvb1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain% c# ]2 V U, b- }2 [4 a& i. d) m1 D; x
公仔箱論壇3 T: R; G! B f' V9 g1 o0 `
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |