let the 12 balls be numbered 1,2,3,4,5,...,12
/ a% }+ G8 R2 m8 S) X& Y5.39.217.77:8898weight 1234 with 5678公仔箱論壇/ N4 C% i+ t' @& f2 \; u* j
case 1
% u) } `, S/ o) G公仔箱論壇if 1234>5678, then weight 125 with 678
8 y8 d5 f5 l3 S: H5.39.217.77:8898if 125>678, then weight 1 with 25.39.217.77:8898* p/ S" x! o. P3 _. q( y1 ^" a! A
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
0 v& N* p" h6 c( eTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 125=678, then weight 3 with 93 t1 l- \7 j5 C1 s7 |- d
if 3=9 it is 4, else it is 3公仔箱論壇! q7 i- f' z5 Z
if 125<678, then ewight 3 with 4
6 Y" L* v9 }9 _% T0 J# h5.39.217.77:8898if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 48 w" N: I# M- g$ E8 ?% X
TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。+ t" V. ~9 v e4 U3 U" R
case 25.39.217.77:88988 z' L# D& P( g0 @" ?& r5 ]9 N6 G8 s; ^
repeat above for 5678 instead of 1234 if 1234<5678
7 t* U+ f# H3 e& Itvb now,tvbnow,bttvb
: j# S( u' W9 c. F4 d2 \1 V% bcase 3
" a' G$ b# _, p1 i# }* T7 g1234=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$ F6 w. M1 A5 O; t' m8 _公仔箱論壇
5 J; Y2 }$ @1 p& |5 g6 NTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |