let the 12 balls be numbered 1,2,3,4,5,...,12
* V% t+ K) d& ^$ B( n' sweight 1234 with 5678
- S. \2 B6 S3 ~: y( fcase 11 \" b _0 K8 S
if 1234>5678, then weight 125 with 678. R0 e9 H. G" g Q# f0 B) ]
if 125>678, then weight 1 with 21 `3 ^2 l7 b, l. m" V. e, ~# Y
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
+ F4 r/ T* k% QTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 125=678, then weight 3 with 9
- p% W7 B2 I" i- f, C7 X5.39.217.77if 3=9 it is 4, else it is 3TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。7 d4 t, t t5 l3 s2 K) K# J
if 125<678, then ewight 3 with 4
5 c6 ^0 _/ B7 M1 fif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4tvb now,tvbnow,bttvb5 s$ s" x$ T, W9 Y$ v
+ L* f; l3 P- {6 G2 B' X# wTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。case 2! q4 I, z& ~$ I8 L: b1 Q: j% \
repeat above for 5678 instead of 1234 if 1234<5678tvb now,tvbnow,bttvb$ b3 |* z" U8 N! [2 e
公仔箱論壇: Q9 n& p d5 v% r
case 3
4 f8 M! ^8 x' I8 z4 N9 u* c1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explaintvb now,tvbnow,bttvb7 n% q0 c( v1 v
3 @0 M9 ^4 R. s9 ?tvb now,tvbnow,bttvb[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |