let the 12 balls be numbered 1,2,3,4,5,...,12公仔箱論壇" E: q# L+ k; {. P' ~) l
weight 1234 with 5678
0 ^. m3 B: G( E" mtvb now,tvbnow,bttvbcase 15.39.217.762 V J4 M/ _2 `, N
if 1234>5678, then weight 125 with 678
! @+ ~" o/ T% |/ j' |公仔箱論壇if 125>678, then weight 1 with 25.39.217.76. p. ~9 b2 p# X& e6 Z! \2 Z
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
: d3 P( G o, I0 w( A9 Utvb now,tvbnow,bttvbif 125=678, then weight 3 with 9公仔箱論壇/ B7 p6 @& ~ L9 O2 z$ q; o5 E3 e
if 3=9 it is 4, else it is 3
- i) K2 h3 w! H! F' y2 R4 e: y) rtvb now,tvbnow,bttvbif 125<678, then ewight 3 with 4) t- Y o) T9 |3 U# L! h
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4tvb now,tvbnow,bttvb& p& g( ?# C q* G) {, M; m! \
tvb now,tvbnow,bttvb; ^5 W3 l. `7 \" ~( r
case 2
\7 ?+ e; B6 o( w; L/ Z/ }TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。repeat above for 5678 instead of 1234 if 1234<56787 h# G& T6 s- L" Y4 @0 o
5.39.217.76/ ^+ \) c. d$ [: ~- \- q1 T) i
case 3tvb now,tvbnow,bttvb% D) X4 Y5 e: \. {
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
( J, F2 y' m/ Y+ \. u, E5.39.217.76
& m0 }- O& A$ e- ^" @3 W公仔箱論壇[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |