let the 12 balls be numbered 1,2,3,4,5,...,12www1.tvboxnow.com9 R( ?0 G/ t1 z, [% v% L
weight 1234 with 5678TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。+ U/ h) {' h4 }
case 1tvb now,tvbnow,bttvb) I9 A) u& }3 F3 M1 Z8 K, ^8 Q
if 1234>5678, then weight 125 with 678
/ {( {1 S& K2 m% T( O公仔箱論壇if 125>678, then weight 1 with 2
$ W2 O- H' e! ]/ X: D' bif 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
) _' }$ S c9 g- u5 v' Y" G公仔箱論壇if 125=678, then weight 3 with 99 l# o5 c2 R+ B; K# A- B
if 3=9 it is 4, else it is 3
6 L" U+ e7 ^' Q% y! _www1.tvboxnow.comif 125<678, then ewight 3 with 4
6 O4 Q# L+ J) H* d2 ~TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4公仔箱論壇! S; x! t/ K8 k- T9 I
6 D1 }5 g3 P2 s8 W6 Mtvb now,tvbnow,bttvbcase 2
7 n- o$ P3 l( {7 Zrepeat above for 5678 instead of 1234 if 1234<5678公仔箱論壇! ~, X2 H, B0 R
0 I3 B* ~+ @. c9 Qwww1.tvboxnow.comcase 3
6 n" b5 C- ~; g7 f0 L9 {+ i1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
~# W/ E! X# @6 u6 b7 K: q1 P: [TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。: v3 a9 [# b, C4 y5 w6 Z0 M' K5 v
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |