let the 12 balls be numbered 1,2,3,4,5,...,12
- ~. {6 {1 w4 V9 @; Ntvboxnow.comweight 1234 with 56788 C ^5 W4 z3 ?' }
case 1
4 A5 w$ B2 `3 J+ ?tvb now,tvbnow,bttvbif 1234>5678, then weight 125 with 678
, ^$ u6 n5 e0 @1 J' G1 v# _tvb now,tvbnow,bttvbif 125>678, then weight 1 with 2tvb now,tvbnow,bttvb' d/ r* V$ B" w' \ Z& i
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
: q! o5 h4 x" p9 E) V# ]+ ]tvboxnow.comif 125=678, then weight 3 with 9
9 D" O$ S7 k4 i6 J3 g2 q0 Y0 i公仔箱論壇if 3=9 it is 4, else it is 3
9 |4 \& R5 }& Z6 I) X5 ^if 125<678, then ewight 3 with 4公仔箱論壇+ |& `9 N; f. h1 ?' O9 t
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4. y6 s" P+ e: v3 y! j7 [5 D
tvb now,tvbnow,bttvb/ m+ Z+ }0 p9 l9 m
case 2
+ M' P# L3 g% b4 Y1 Prepeat above for 5678 instead of 1234 if 1234<5678
$ k: l2 \- R: a9 O( h ^; ]$ K8 etvb now,tvbnow,bttvb
4 s4 ]! G4 L( qTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。case 3
1 \ p+ X! G+ c1 H, l# G+ O+ CTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
5 C- r# O) w; w; F7 V6 A6 Rtvboxnow.com公仔箱論壇: A& N6 e& m2 S; q
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |