let the 12 balls be numbered 1,2,3,4,5,...,12
: \0 U, Q7 m |: ktvboxnow.comweight 1234 with 5678tvb now,tvbnow,bttvb2 `3 |8 v% N: K' _/ e: p. _" W
case 1tvb now,tvbnow,bttvb! Z5 M& Y2 w/ n. a Z# O& \
if 1234>5678, then weight 125 with 678
; |( S9 H2 H& D* N7 Ytvb now,tvbnow,bttvbif 125>678, then weight 1 with 2" m/ L$ a+ F3 _1 t
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2公仔箱論壇+ |; Q8 { \# o) @6 p5 m
if 125=678, then weight 3 with 9
1 U# {8 a3 K3 }* V8 RTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 3=9 it is 4, else it is 3
# o! ]1 H$ I$ P8 Aif 125<678, then ewight 3 with 4/ t7 w) t$ b# R$ t7 r4 M6 a
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4tvboxnow.com( T/ ?7 W; W& \* P+ B
8 }, Q: m% f D- n, rtvb now,tvbnow,bttvbcase 2tvb now,tvbnow,bttvb; k X! F; Z& B0 _8 H5 N% g2 H9 K
repeat above for 5678 instead of 1234 if 1234<5678公仔箱論壇6 F4 }3 @- e5 O7 q2 `# }
. a" {5 ^9 V3 p+ `, W; b3 PTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。case 3
* t* c" Q M) H5 j3 i! |. dtvboxnow.com1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
. k- S) l' D* l, TTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。5 A6 K: G% ~* h5 t" H
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |