let the 12 balls be numbered 1,2,3,4,5,...,125.39.217.77:88984 V6 F, b: Y, T( d) ]! b( j
weight 1234 with 5678
) ]# t3 t+ `* d4 ]# \8 k; ^( V5 R公仔箱論壇case 1TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。6 j: B- w& V% b% [2 J! |# ?+ K# [+ ?
if 1234>5678, then weight 125 with 6785.39.217.77:8898# A8 {2 Y8 @- X4 j8 n
if 125>678, then weight 1 with 2
1 ^+ @3 B8 |5 iTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。9 z5 G6 D/ n. }7 d
if 125=678, then weight 3 with 94 Q) a* p0 s- B- l
if 3=9 it is 4, else it is 3
; R! B+ p2 Z* d公仔箱論壇if 125<678, then ewight 3 with 4
4 Y/ [- n; @& C0 b/ D5.39.217.77:8898if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 44 x, ^. a! L$ D9 k, H8 X
5.39.217.77:8898# a" h4 f3 x6 ?0 q) p
case 2
5 }$ d* r' a Z( S3 G' C5.39.217.77:8898repeat above for 5678 instead of 1234 if 1234<5678
1 { m+ P$ ]7 \. BTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。, l1 O b) u0 P, \& N7 S7 K6 z4 L1 X
case 3公仔箱論壇 e) d6 c1 d9 N& D2 S* j% Q9 N7 O
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
+ N- b! b7 Z$ i& m; m0 [0 m7 v5.39.217.77:8898( X; I z# E% N2 `
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |