let the 12 balls be numbered 1,2,3,4,5,...,12; v2 e# w3 K. Q( P% ]9 D
weight 1234 with 5678
$ d7 |* a. V- L( Ycase 1
* w7 D' Z9 \( r2 s4 z5.39.217.77:8898if 1234>5678, then weight 125 with 678公仔箱論壇- u6 `; q8 c, a" V" |
if 125>678, then weight 1 with 2tvb now,tvbnow,bttvb. w& J- \. g; u' _
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 25.39.217.77:8898# b! t- Z/ D) p8 v' \$ T" J& {( m
if 125=678, then weight 3 with 96 ]+ D- }1 e* Q% C" R
if 3=9 it is 4, else it is 3
1 _4 E# y2 z2 c( {tvb now,tvbnow,bttvbif 125<678, then ewight 3 with 4
P" X, s! Y6 j4 s9 {- w* qif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。" u0 d& T/ U- Q! p, G
5 ?+ k" Y a9 m% I
case 2公仔箱論壇 A8 Z7 t5 g7 e( i! h% R- W/ i: ~& _
repeat above for 5678 instead of 1234 if 1234<5678tvb now,tvbnow,bttvb# v7 |( B( n! B5 U+ t. @
TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。: ~+ v: @' ^8 }8 x* W0 b& o* ~5 T
case 3TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。) J9 m4 K7 g R6 @1 T* [" h! a$ n
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
7 p V6 e2 `" b公仔箱論壇0 [' e/ x$ }$ {1 Q4 P
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |