let the 12 balls be numbered 1,2,3,4,5,...,12 x! ]$ ]( x: |" [! u
weight 1234 with 5678www3.tvboxnow.com9 l; z. q8 T' l3 w
case 1tvb now,tvbnow,bttvb# N. ]0 k" U& l; s) v1 k
if 1234>5678, then weight 125 with 678& u! A/ E5 Y) s% x
if 125>678, then weight 1 with 2; X6 i& n. ? q$ c
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
6 E. D% n. m2 dif 125=678, then weight 3 with 9
- W! j8 R6 n9 c' f f% o0 Mif 3=9 it is 4, else it is 3
0 y2 U7 ?) i8 r" } Y' P1 J% y9 cif 125<678, then ewight 3 with 4# i G0 n* O" K. {6 b
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4www3.tvboxnow.com9 H! s$ t% C' }" w- m3 z7 S b
" j h5 G; w* r& M4 z% C# Bcase 2/ C4 g0 z( O/ @* C# g$ b
repeat above for 5678 instead of 1234 if 1234<5678" u) c) D: }; v! d |3 y7 {$ p
) s0 @/ G8 y& [公仔箱論壇case 37 s6 N2 x c9 A) v* i& }* z/ I
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explainTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。& f1 p+ ? z/ `- O# T
9 o/ r8 D. h: Z& ^+ K8 o4 C* Ewww3.tvboxnow.com[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |