let the 12 balls be numbered 1,2,3,4,5,...,12
5 a/ b4 y2 D+ m8 ^) Ttvb now,tvbnow,bttvbweight 1234 with 5678TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。/ C# U& |8 N4 ?
case 1tvb now,tvbnow,bttvb+ m3 D& C+ e J4 T
if 1234>5678, then weight 125 with 678TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。# P4 N% d3 S" } F8 t9 i
if 125>678, then weight 1 with 2' h8 z: X$ F7 Y8 E0 x" B5 B
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2, F% l$ H) X& r" b8 q4 v2 D
if 125=678, then weight 3 with 9! j% ]7 E* V1 `. u9 n
if 3=9 it is 4, else it is 3公仔箱論壇2 Y' H$ s i$ [8 m3 {, M2 X
if 125<678, then ewight 3 with 4
! o: T1 Z) b, ftvb now,tvbnow,bttvbif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4
2 T- l, z' e& Y- _/ {, f9 ktvb now,tvbnow,bttvb
; ?8 R/ b( D3 X& [# scase 28 X" S3 O; u6 J2 `* V
repeat above for 5678 instead of 1234 if 1234<5678公仔箱論壇) R8 Z* L+ k4 o( t% x4 f# e4 S
tvb now,tvbnow,bttvb" ]$ E2 A, n% g8 x. B# n& o; ^
case 3
5 u; x* x1 W+ i) i- q# n/ w1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
9 t! k5 f- N7 ^6 B5 bTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。公仔箱論壇* v% d% \- W) M7 g6 a' J" p) S
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |