let the 12 balls be numbered 1,2,3,4,5,...,12
8 y- I: q' D3 x) W7 ^weight 1234 with 5678tvb now,tvbnow,bttvb9 R) N5 u+ g3 o a: |
case 1www1.tvboxnow.com& S9 W) x& { s0 L- e% d" d7 ?- {2 B
if 1234>5678, then weight 125 with 678
+ K% F1 j; h9 B6 a4 y: Xif 125>678, then weight 1 with 2
/ j2 q9 J) [& y3 t5 F- x/ gtvb now,tvbnow,bttvbif 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2tvb now,tvbnow,bttvb9 t3 a" j5 \1 t1 B: L
if 125=678, then weight 3 with 9
" w4 q+ n2 i0 U& V) K* ]' CTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 3=9 it is 4, else it is 3公仔箱論壇. e, Z! m: c! |, [) c9 b
if 125<678, then ewight 3 with 4
, X T* _! o$ B7 pif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4
! R5 T# O+ G3 }" mtvb now,tvbnow,bttvb
# O3 O, Y' Q; ~% R( ~公仔箱論壇case 2+ N( V; p4 q! [) W/ o# C
repeat above for 5678 instead of 1234 if 1234<5678
+ s+ d; v+ `6 N) g
8 S' @) r3 m% P& o) q; JTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。case 3公仔箱論壇: n- |8 B% }7 ~5 X" y) ~! n5 U H- _
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
/ ^ v9 s# ^: J- e# C; _( P" @tvb now,tvbnow,bttvbTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。( h# [6 {; F( r! V* z0 S
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |