let the 12 balls be numbered 1,2,3,4,5,...,122 P% {9 u! X8 t& v6 b2 V
weight 1234 with 5678
5 M2 X$ c" z+ A1 c$ MTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。case 15.39.217.77* U# S! _' [# V9 U
if 1234>5678, then weight 125 with 6785.39.217.77) W+ M( L$ H G# m# [
if 125>678, then weight 1 with 2TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。2 }/ p+ z& g# L) n. r% T
if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 25.39.217.77( R" E: `: F0 v* m
if 125=678, then weight 3 with 9tvb now,tvbnow,bttvb* f( |' [- Q; b% A& p* a
if 3=9 it is 4, else it is 3tvb now,tvbnow,bttvb! ^/ P6 ~7 Z1 c' }
if 125<678, then ewight 3 with 43 P3 ~/ B% n! r+ Y Y- e7 _
if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4
0 k' L" ?" i$ _: |6 W5 ? `# I1 vTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。5 x3 n: o) a& [; E! @
case 2( f+ C! H' I% B$ P
repeat above for 5678 instead of 1234 if 1234<5678
. d8 r% C1 [2 r2 _& Y" `0 V5.39.217.77
, d* h1 A9 @) v$ }公仔箱論壇case 3
# L U* s. z+ U4 l. m1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explainTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。6 s- w. L& m& ^
公仔箱論壇2 w9 I/ z, J" q' Q* F. k
[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |