let the 12 balls be numbered 1,2,3,4,5,...,125.39.217.77:8898" P* Z/ k8 ]" Q+ J" e
weight 1234 with 56785.39.217.77:8898, W, P" l( {1 v) g6 L2 \) E8 j
case 1tvb now,tvbnow,bttvb( ]) W- O/ @- Y6 q9 P4 Q- h$ V5 |
if 1234>5678, then weight 125 with 678
( f6 M. ?1 g7 t6 h0 Dif 125>678, then weight 1 with 2
7 ~& c0 y: }" J* n9 a, ktvb now,tvbnow,bttvbif 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
O; P$ G$ b6 n4 I& l' h" y" a" U7 htvb now,tvbnow,bttvbif 125=678, then weight 3 with 9
) A& ~/ Y: T* d- p5.39.217.77:8898if 3=9 it is 4, else it is 3
( W0 i* z7 S: D: _% V {& @. Tif 125<678, then ewight 3 with 4
9 A9 u( u/ j+ C3 L5 X0 Aif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4公仔箱論壇. k X" \* U/ i+ M
# C7 F0 u; _7 f1 ` \" s/ [case 2公仔箱論壇& M$ _5 ?7 }/ P. Z9 g" X
repeat above for 5678 instead of 1234 if 1234<5678公仔箱論壇# z2 Q& {- F1 {9 E+ ~
2 O1 a1 S5 b0 X( ^case 35.39.217.77:8898- U" ], a. X# J. a9 [' Q
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain6 u' \. x0 z" @( x7 M' J' |
( a0 ]# @: @" |: L1 f7 d5.39.217.77:8898[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |