let the 12 balls be numbered 1,2,3,4,5,...,12
" A" u$ F) Y% h7 _5 ? L. S& B- Pweight 1234 with 56783 n# @ I8 \, m
case 1www3.tvboxnow.com5 K' y. o9 y* e& P( z4 s
if 1234>5678, then weight 125 with 678
" A+ i' C/ ]# Fif 125>678, then weight 1 with 2
% E/ O+ u( a4 ~0 X7 k! Awww3.tvboxnow.comif 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
" H& @" O2 K- Q# F' t$ Btvb now,tvbnow,bttvbif 125=678, then weight 3 with 98 k: p% M- c/ a7 q
if 3=9 it is 4, else it is 3
3 i# \2 u. i# C- ]tvb now,tvbnow,bttvbif 125<678, then ewight 3 with 4
* f3 i4 @$ [# rwww3.tvboxnow.comif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4
3 j/ \+ h0 x: n! sTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。
9 M2 U% k. P n0 z& zwww3.tvboxnow.comcase 2
x3 S8 ~9 G& d: k$ e3 x" Arepeat above for 5678 instead of 1234 if 1234<5678
: d. l& K ~& H2 Y1 UTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。
- C# Z6 y" K, }4 D6 d' @# iwww3.tvboxnow.comcase 3
# s* v2 ~: {; ?/ u. k: bTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explaintvb now,tvbnow,bttvb) y; V6 i6 [! k$ |
3 @; o: m, i: K7 S) T! o% ~! g[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |