let the 12 balls be numbered 1,2,3,4,5,...,12os.tvboxnow.com8 }7 N' D8 R) @8 I5 x
weight 1234 with 5678
! T6 R( f1 ~2 scase 1TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。" _9 j( u- o2 _9 h1 o
if 1234>5678, then weight 125 with 678
: |' T! p2 s, Z4 otvb now,tvbnow,bttvbif 125>678, then weight 1 with 2
( h/ H- \! H j. Z3 |, t' Qif 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
) a9 d* a# t1 Q8 X( gos.tvboxnow.comif 125=678, then weight 3 with 9! u& k# N# o7 u: t. B
if 3=9 it is 4, else it is 3
F' a& X( R9 _; u( M, U6 K公仔箱論壇if 125<678, then ewight 3 with 4
+ K# b9 n [" q" V P: e5 p% V, Oif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4
/ ^! t; }. {6 _& @& ^7 f' V公仔箱論壇TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。2 H, s: f4 R! ?
case 2
4 K$ j* F0 @) Q4 d" M) J7 bos.tvboxnow.comrepeat above for 5678 instead of 1234 if 1234<56780 s8 c7 X G. d" t7 N
/ a) W* n [- d9 F' M7 Mcase 38 t7 N) B6 t. w9 Z
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain( b0 a: @0 a8 L2 I/ K. ?' L8 q
6 R7 U6 s9 l3 M公仔箱論壇[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |