let the 12 balls be numbered 1,2,3,4,5,...,12
+ p3 @1 c8 F$ O' r公仔箱論壇weight 1234 with 5678
2 x, p. K% |6 l Ncase 1TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。, ^4 f' i9 w+ e! B% K* G' J
if 1234>5678, then weight 125 with 678
1 T1 W$ N/ `4 Q, F: P1 j$ j公仔箱論壇if 125>678, then weight 1 with 2
5 I* T. {$ }+ N; i3 v) [ R% Tif 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
; I% L, [3 o. [6 pif 125=678, then weight 3 with 9公仔箱論壇4 M& A3 w- c, ?7 @! S% f0 D9 N5 G w' m- |
if 3=9 it is 4, else it is 3公仔箱論壇6 U2 ?$ G1 q! v% @
if 125<678, then ewight 3 with 4
. @, c7 \5 _9 rTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 45.39.217.77. C/ v/ c7 O! ^7 S6 r" c; R
3 |- n/ [3 ?# u/ Gcase 2
# L0 p# E3 J# A; L6 _, E! W5.39.217.77repeat above for 5678 instead of 1234 if 1234<56785.39.217.77% d. y; {* _7 \5 w
公仔箱論壇& m# I$ X# x3 b$ K
case 34 p4 |+ K6 m6 f! w% P7 `# a
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain t8 P% h! Z: K7 U9 ?( Q
tvb now,tvbnow,bttvb! O1 D! G) {6 F$ J
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |