let the 12 balls be numbered 1,2,3,4,5,...,12
" Y9 z0 E, b5 \+ Pweight 1234 with 5678
' H& h/ W, T! ]0 n6 ?8 h* u/ Q0 k7 ^. Ntvb now,tvbnow,bttvbcase 1* f6 J+ |3 M- {8 o! m/ z. J: a+ X
if 1234>5678, then weight 125 with 6785.39.217.77:8898' r9 B7 _5 S7 ?9 j4 J7 j Y* h
if 125>678, then weight 1 with 2" _! [- X* M& c& \
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
2 p# Q3 Y8 S+ D* M4 O; |6 f( cif 125=678, then weight 3 with 9TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。/ H4 a7 Y, w' G
if 3=9 it is 4, else it is 3
; e5 J" R) b4 g1 ]* m5 kif 125<678, then ewight 3 with 4
9 j1 K# ]& _, P" t! bif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4公仔箱論壇' v+ P: M7 _, ]& u \ t
+ K6 [1 g5 g+ h7 ]0 W2 Qtvb now,tvbnow,bttvbcase 2
& A1 [$ R" v+ r2 t; t' @: I公仔箱論壇repeat above for 5678 instead of 1234 if 1234<5678tvb now,tvbnow,bttvb! I& Q6 e0 q) \, w" [
) n8 h8 w# d0 X3 U
case 3
0 `! e) G; _4 W- i, W1 k5 l公仔箱論壇1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
. |0 `6 H& w# HTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。- X! u& D1 f* Z( l( _/ [7 n
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |