let the 12 balls be numbered 1,2,3,4,5,...,12
+ y. t' h0 E( `% Q. ~+ p0 pweight 1234 with 5678TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。9 E: J; d( F+ d- G% e! E
case 1
: C6 g6 t0 P1 G5 d. a9 Nif 1234>5678, then weight 125 with 678
3 x4 a) W, O. Qif 125>678, then weight 1 with 2
- T0 [! C/ ^, Z' k" W# }& O9 VTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 22 _0 w* V* i# h: E. x
if 125=678, then weight 3 with 9
8 u. U& M/ x1 oif 3=9 it is 4, else it is 35.39.217.76 _2 }0 t# Q* X/ Y0 |# k
if 125<678, then ewight 3 with 4TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。- g- `6 ~2 T8 E1 D
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 45.39.217.765 Y+ O4 Q" J. w9 d; n1 v- ^/ C8 Q; D
2 Y& x+ b; T8 D* C( }case 2
2 x ~2 D8 r- m& @! W7 r/ u$ N1 xtvb now,tvbnow,bttvbrepeat above for 5678 instead of 1234 if 1234<5678公仔箱論壇; V, s2 t! Q0 b s
# h+ B7 R9 @ a+ x0 q
case 3
2 i4 K6 b( o; X5 A; {1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
) u4 j* w( q$ r5 |! z) }" K" t/ Ctvb now,tvbnow,bttvb公仔箱論壇) U/ r8 h' q, ~+ L
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |