返回列表 回復 發帖
let the 12 balls be numbered 1,2,3,4,5,...,12' R9 D/ |, b  E' I! x1 ]% m
weight 1234 with 5678
9 `9 v' b  q* Jcase 1
/ J8 I. b: C. X8 J2 I9 ]' dTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 1234>5678, then weight 125 with 678
8 n8 I, u, D5 }: b% V% Aif 125>678, then weight 1 with 2
' ~  x% Z* _6 {/ v% i; Z) hif 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
6 |* N& t2 o8 oif 125=678, then weight 3 with 9公仔箱論壇& ?: j: @; }& V$ H
if 3=9 it is 4, else it is 3
: r; T9 q7 r2 R; V% I2 WTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 125<678, then ewight 3 with 4! C/ R; q( }1 D
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4
0 k. }! C7 V8 n, ]( WTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。公仔箱論壇  v6 @' w6 q& ?: p9 Q+ C
case 2! t9 k  w$ k" W  G4 T8 c
repeat above for 5678 instead of 1234 if 1234<5678
- ?# j5 }! V9 X$ I9 `公仔箱論壇/ T" i* \' x+ i. l
case 3
  J# I- N4 \: ]' y4 v3 G) H公仔箱論壇1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
! F/ s/ p8 k# T" ?" l+ |os.tvboxnow.com+ y# F2 f8 `9 s3 w
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ]
返回列表