let the 12 balls be numbered 1,2,3,4,5,...,128 N" i: P* g' o+ u# c) S( A
weight 1234 with 5678
- i% e) d. p) |2 |5.39.217.77:8898case 1公仔箱論壇4 w" W+ ?% }* i" ~. o, m+ x' m! ^: O9 X
if 1234>5678, then weight 125 with 678
( ^) \4 e# v/ \, v4 a公仔箱論壇if 125>678, then weight 1 with 2: q3 f3 B: G$ M( _) \
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
- ~$ L% g/ R) P1 M; f: x# @if 125=678, then weight 3 with 9
) x y5 j+ [4 X8 s1 l; h& H+ f/ ~: ?2 f公仔箱論壇if 3=9 it is 4, else it is 3
) E( k+ D7 X( z% T6 c# W& q5.39.217.77:8898if 125<678, then ewight 3 with 4tvb now,tvbnow,bttvb0 }+ S l. D; {4 I- u
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4: _% j) e2 d# H( F5 v9 P
3 o$ b' I% p1 W$ F$ C2 STVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。case 2
- ]0 w/ T! ?7 t公仔箱論壇repeat above for 5678 instead of 1234 if 1234<5678
4 ]( [% n& q) a) m8 gtvb now,tvbnow,bttvb
1 ^: g; g: Q7 b! i. Wcase 3TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。" C( O" E- ~! Q- ] e7 _* F
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
* V. L/ F, V# d3 U+ P* C- Ftvb now,tvbnow,bttvb
. ?2 V) M& z# q% n" ?8 Y6 h( tTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |