let the 12 balls be numbered 1,2,3,4,5,...,12tvb now,tvbnow,bttvb+ v W% x+ s% P$ q
weight 1234 with 5678公仔箱論壇: F- Q' p8 W/ _
case 1
0 X- V: [/ p8 e/ j0 ^if 1234>5678, then weight 125 with 678( V( P4 s# _$ H: ?5 u {$ B1 X
if 125>678, then weight 1 with 2
% o% A$ s& [0 r( a% P& F2 ?tvboxnow.comif 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
4 o0 J4 `! i$ x" tif 125=678, then weight 3 with 9
- z$ c9 g* G; M0 T6 f( ]" Mtvb now,tvbnow,bttvbif 3=9 it is 4, else it is 3: a" d- U1 O/ m" E4 k0 m# }
if 125<678, then ewight 3 with 4公仔箱論壇# d! |4 \, a/ O' D
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4tvboxnow.com8 Q) K6 X, n' V0 i; c5 I/ X; c" j
5 w' \5 }4 B s) ~: K公仔箱論壇case 2
/ p% Q( r7 f, M' y6 h公仔箱論壇repeat above for 5678 instead of 1234 if 1234<5678
, d4 @7 j2 ]1 A# Ztvb now,tvbnow,bttvb
3 H) ]. |2 m/ |. W/ i1 Y7 E9 Wtvb now,tvbnow,bttvbcase 3tvb now,tvbnow,bttvb; n F2 K$ \7 s3 m1 r. |" r
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
4 K2 S. M7 n8 o/ z5 rtvboxnow.com o. r+ }3 ~# }$ ?5 h. `
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |