let the 12 balls be numbered 1,2,3,4,5,...,12
$ Z( o5 }, ]! k0 P1 fweight 1234 with 5678
( n' i7 _$ x" z5.39.217.76case 1
% E. z' U! f) q" M0 W- x$ `8 ]0 cif 1234>5678, then weight 125 with 678
; ]# c6 n' [" v6 d w; n0 Gif 125>678, then weight 1 with 2
5 q2 x: a+ B+ {1 W* `# b6 ITVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 21 e* E/ K2 @( }: j( _! p, A
if 125=678, then weight 3 with 9! \' F5 {& g* n% V
if 3=9 it is 4, else it is 3TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。1 x. H5 U# u2 g+ T- ^9 I6 [
if 125<678, then ewight 3 with 4TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。6 }! c; |; {4 t+ q5 q- k
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4* x& ?& K8 e" Z
3 E6 j, B5 T' ?; L5 n& q7 e7 a
case 2
* Y; S6 a1 ]$ K0 D* Y) {2 {5.39.217.76repeat above for 5678 instead of 1234 if 1234<5678公仔箱論壇3 [7 x7 p. b1 s2 ?% O: Q( \
TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。- p; w) s, w) P1 R1 Z
case 3
5 A6 G* }- d! u% N/ ^1 N6 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
8 I; K5 R9 j) b* Y) W5.39.217.76
0 b5 Y0 E- Z* ^! Y- k, i: |9 jTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |