let the 12 balls be numbered 1,2,3,4,5,...,12
: E! E: l) Z7 K! w# Ftvb now,tvbnow,bttvbweight 1234 with 5678
. @# w$ Y6 M: e% g, Fcase 1
9 n S" V D2 R% S$ W5.39.217.77:8898if 1234>5678, then weight 125 with 678$ k; `+ |6 e S& R2 I' L
if 125>678, then weight 1 with 2
" e+ k9 ^! s' U9 }+ B. uif 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
& \+ ~: z; q, a# Z+ ?$ A公仔箱論壇if 125=678, then weight 3 with 9; }( C" v$ c6 K
if 3=9 it is 4, else it is 3
) {" `/ U/ h* [* }$ ^) HTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 125<678, then ewight 3 with 4
3 @7 P; `. @% M# F/ P5 lif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4tvb now,tvbnow,bttvb: w* Y- O. H; m6 D
! Y# h8 d0 D6 o. z: P9 C公仔箱論壇case 25.39.217.77:88987 B6 m3 P6 O- K. O
repeat above for 5678 instead of 1234 if 1234<5678
0 h1 _. R/ L' t5 J ?
% u# c% H* v7 E* m% \( r4 I公仔箱論壇case 3" H, a5 q$ C: i9 r. e' _6 X
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain) X, n& O8 ]' p1 O( @* L* n
5.39.217.77:8898+ b7 N! ^: S, o2 a8 i% y
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |