let the 12 balls be numbered 1,2,3,4,5,...,12
9 t( W2 e) s9 [! ctvb now,tvbnow,bttvbweight 1234 with 5678
* X4 @2 H m4 T6 J9 D! }' I公仔箱論壇case 15.39.217.769 C3 D3 D+ {0 {2 b4 J- z$ @
if 1234>5678, then weight 125 with 678公仔箱論壇' ^$ X$ E3 O7 r. q9 i( V. |: \
if 125>678, then weight 1 with 2
8 m- g$ b; c' B5 @/ i/ Q1 C/ q. n) r5.39.217.76if 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
/ ^2 B+ [6 d6 y- Utvb now,tvbnow,bttvbif 125=678, then weight 3 with 95.39.217.76- z2 l6 D& z% t q6 [6 a5 W+ a$ i
if 3=9 it is 4, else it is 3
0 e# {" d6 k$ kTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。if 125<678, then ewight 3 with 4
; q! a/ w; F2 t! ]9 ^& F2 f S* Z公仔箱論壇if 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。/ g/ u4 e6 E6 s
9 H8 A _, y4 C% Y6 o, \
case 2+ s d+ H0 ^ k* a, H" x& a
repeat above for 5678 instead of 1234 if 1234<5678
+ h5 `: f& S4 m7 D. ]$ e# OTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。
; ~4 ~7 t* I! P9 T; {" s5.39.217.76case 3
/ W4 r" L5 N" c1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
0 ^0 Z$ F2 Z7 `) iTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。
; P1 x& n, b8 q; qtvb now,tvbnow,bttvb[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |