let the 12 balls be numbered 1,2,3,4,5,...,123 a2 Q, s @- [* H
weight 1234 with 5678
6 b! | `+ I; l# _6 z, i- V5.39.217.76case 1公仔箱論壇 W% ^( h _1 b# J
if 1234>5678, then weight 125 with 678
5 ?4 J: ?1 r( {if 125>678, then weight 1 with 2
3 `* n$ U6 [, zif 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
2 L- v+ l0 v+ w) J! t' G公仔箱論壇if 125=678, then weight 3 with 9TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。2 m7 \+ r3 P" t" {6 J1 R6 p, Q
if 3=9 it is 4, else it is 35 _2 y/ ~) z+ z& G w
if 125<678, then ewight 3 with 4tvb now,tvbnow,bttvb$ ]5 m$ I& p0 H! h9 E) F
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4
0 t9 f, c; E. O/ Q# G公仔箱論壇
( @4 h$ |3 D' F& z" F; z9 i2 t7 Etvb now,tvbnow,bttvbcase 2
* X/ N6 v" ^4 \7 C1 e, r# j5 `2 mrepeat above for 5678 instead of 1234 if 1234<5678
9 q. |: S ? `7 v+ P& Q$ [5 vTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。5 Z% u& q% ~& T! B5 f
case 3公仔箱論壇. n" q8 i$ _" v Z1 ]+ {
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain公仔箱論壇7 K }+ {+ `7 c$ p. R b1 s! L+ v
5.39.217.76% M8 v2 e+ Z* `" M# V8 C C( r5 B( f
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |