let the 12 balls be numbered 1,2,3,4,5,...,12 c2 d4 p& C1 z/ h$ `2 V
weight 1234 with 5678
6 F0 U, c& X1 l w1 D& i etvb now,tvbnow,bttvbcase 1
; L1 K& Y1 v* U! C- n6 M U5.39.217.77:8898if 1234>5678, then weight 125 with 678
$ b' T9 H# E" a* m. u- FTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 125>678, then weight 1 with 2TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。; ?2 ^- V' _' D: d& e" ?; ?: \
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
0 S8 M4 m' y$ w3 i% v; Nif 125=678, then weight 3 with 9公仔箱論壇1 Z1 l5 ^4 R; ]4 K
if 3=9 it is 4, else it is 3* i. \4 f- b ] D) ?2 d' k
if 125<678, then ewight 3 with 4公仔箱論壇/ k0 r+ n, D: e5 h7 }
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。1 ]% |, B! a9 Y6 R! r# f9 ^% i
- G& h2 X5 ^+ F" K- N1 K$ t( n# e* H, C
case 2公仔箱論壇7 _) A! a* W2 r0 A
repeat above for 5678 instead of 1234 if 1234<5678
$ }8 q2 X2 p# [, B" I" @
# m6 `) q. y _' [" [" htvb now,tvbnow,bttvbcase 3 A8 r% u, K( x7 t
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain& G: s7 m, J& }* t" {, f' i
; x9 H2 `! K$ B1 S[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |