let the 12 balls be numbered 1,2,3,4,5,...,12www3.tvboxnow.com; h0 S, A& t1 G5 q9 }2 d1 B+ }8 O
weight 1234 with 56784 H; U9 u# E C6 R. ?( Y6 R" ^
case 1www3.tvboxnow.com6 f# l6 m# ]( O
if 1234>5678, then weight 125 with 678www3.tvboxnow.com% [9 Z* p4 X% v9 r
if 125>678, then weight 1 with 2
; z& W7 M( O! N9 y1 _: stvb now,tvbnow,bttvbif 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
/ t6 r, l. R6 I; g/ m! |TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 125=678, then weight 3 with 9公仔箱論壇' ]. y: _& n) n# n: X
if 3=9 it is 4, else it is 3
/ P& f; |- r; \7 ~$ @www3.tvboxnow.comif 125<678, then ewight 3 with 4
3 w, j+ y- _- lif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4
- `* Q5 T1 b, U公仔箱論壇
2 Q9 b6 f) u; |4 WTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。case 2
3 d: ?, O @5 i" Y0 R2 z4 yrepeat above for 5678 instead of 1234 if 1234<5678* s9 J* h( J! M$ u( e X
" d- j5 ]9 W9 q8 E- _1 \) W' G公仔箱論壇case 3
# r7 E" ^- I4 |" x: D1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain公仔箱論壇# x" W7 h' A7 r
公仔箱論壇; o5 ^# T. s6 R
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |