let the 12 balls be numbered 1,2,3,4,5,...,12
8 Q4 |: S: u; U2 O5 Itvb now,tvbnow,bttvbweight 1234 with 5678
5 a D6 { Y, v. Kwww.tvboxnow.comcase 1公仔箱論壇% W0 S% [. `; D* V2 l8 P: O
if 1234>5678, then weight 125 with 678
) K* k. g. L- k. d B) M4 q4 a公仔箱論壇if 125>678, then weight 1 with 28 U0 Z' @8 L" C
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2公仔箱論壇* l' j& p1 O5 B; h [+ |2 y
if 125=678, then weight 3 with 9公仔箱論壇- k) w: N0 F" n6 L+ f
if 3=9 it is 4, else it is 3www.tvboxnow.com3 f! n/ W5 X5 }: z+ i; g1 P4 y/ M
if 125<678, then ewight 3 with 4
( R% }/ p0 e1 k" o, B1 gwww.tvboxnow.comif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4公仔箱論壇9 n4 `1 H4 K. M9 Z, M% }
X. z+ w" t/ |' W& |3 H& h$ X' y8 Mwww.tvboxnow.comcase 2
+ p% q1 p: ~ @2 k- v7 z0 r5 Xtvb now,tvbnow,bttvbrepeat above for 5678 instead of 1234 if 1234<5678公仔箱論壇; k# Q5 Y+ A& C( j
tvb now,tvbnow,bttvb3 u* c- N( D- G
case 3
. D; Q: [' N0 v/ r( O/ v" e5 {' b1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain公仔箱論壇0 ]$ y) q, q, O
www.tvboxnow.com9 }3 @+ v7 ?1 i$ _0 q- X& X( u( h
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |