let the 12 balls be numbered 1,2,3,4,5,...,12
( u$ c/ ~4 M9 p0 W7 v5 a: _9 N$ nTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。weight 1234 with 5678
; V6 o9 c- v- _2 R& X0 I3 M公仔箱論壇case 1
8 e+ F) N4 l( Z7 ftvb now,tvbnow,bttvbif 1234>5678, then weight 125 with 678/ E' ?, ~" t. [( k2 W* f
if 125>678, then weight 1 with 2公仔箱論壇4 ~9 J& L0 q0 C& I2 t$ U% _
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
- c0 s( `/ i1 y1 u; ~9 btvb now,tvbnow,bttvbif 125=678, then weight 3 with 9! a ]& B! j2 E% m% Z2 D
if 3=9 it is 4, else it is 35.39.217.76! v+ _8 r& z8 y9 _
if 125<678, then ewight 3 with 4tvb now,tvbnow,bttvb- |# {6 }; o3 z
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4
7 I* E" Q5 s2 z9 G/ c( q7 NTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。- L; O/ L$ l% c4 k
case 2
9 [8 \$ Q; G$ E, g, v# mtvb now,tvbnow,bttvbrepeat above for 5678 instead of 1234 if 1234<5678" `5 x$ N# v" @4 D
0 f2 P5 E, g5 a
case 35.39.217.76. N, V5 W. H. w/ n0 H
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
/ ]; I t, E8 ]公仔箱論壇公仔箱論壇, ?4 z) }& C2 w2 }3 L3 {9 D
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |