let the 12 balls be numbered 1,2,3,4,5,...,12( J8 T2 U) a* y$ ]2 f' Y( u: N7 d
weight 1234 with 5678
6 z$ _3 T3 M. _case 11 s5 A, E# l1 p+ l/ p u9 |' Y7 ~
if 1234>5678, then weight 125 with 678
% w8 t8 r; ]* [4 I, d& w j公仔箱論壇if 125>678, then weight 1 with 2公仔箱論壇9 R" d: N4 N0 L; u& N) v: O. ?
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
, b& a8 T% ?' m' V+ |4 S* ?5.39.217.77if 125=678, then weight 3 with 9
6 l( c% Y# j2 T0 j3 Z/ z0 H, [if 3=9 it is 4, else it is 3tvb now,tvbnow,bttvb/ X, W- b+ T) g
if 125<678, then ewight 3 with 4
# N8 J9 o0 n; x: G& x; w" k6 t公仔箱論壇if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 45.39.217.77' }# v3 p. f9 t+ T
9 l. o- }) ]3 _+ V/ u公仔箱論壇case 2
$ {% I' K: i: V5.39.217.77repeat above for 5678 instead of 1234 if 1234<5678
( T7 @2 o8 O# ctvb now,tvbnow,bttvb6 ?; U4 }7 J8 i7 c% _* f5 r
case 3
9 g; u6 t. q( ^' e1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain3 m- ^8 Y/ L% P! u
" n; W4 t3 o L( D. G% D- Ktvb now,tvbnow,bttvb[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |