let the 12 balls be numbered 1,2,3,4,5,...,12
5 G8 \# \) h; X公仔箱論壇weight 1234 with 5678TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。; {2 z; j2 Y5 ^, m
case 1
6 A5 a# X. C a4 y/ w6 ?5.39.217.76if 1234>5678, then weight 125 with 6785.39.217.76" W) q: _9 S9 u( c
if 125>678, then weight 1 with 2
E9 W# }2 s' P0 O6 s* Lif 1>2 it is 1, if 1=2 it is 5, if 1<2 it is 2
+ f7 K0 W9 E- Z( V6 c/ i# Vtvb now,tvbnow,bttvbif 125=678, then weight 3 with 95.39.217.76. r R% X% u8 ^2 q# P% e3 l
if 3=9 it is 4, else it is 3
' a5 Z. v3 M$ k) X5 i( Eif 125<678, then ewight 3 with 4
( ?1 C9 ~3 S3 t8 [6 L5 ?! Ytvb now,tvbnow,bttvbif 3>4 it is 3, if 3=4, it is 5, if 3<4, it is 4
$ r5 I! H5 \' k) Q5.39.217.76( O0 ]. L% m3 Q- s% r
case 2
( |0 J' a, r5 PTVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。repeat above for 5678 instead of 1234 if 1234<5678
6 {* V4 }3 v/ ^7 }: ~6 g: W/ i/ @tvb now,tvbnow,bttvb
* Z% S& H. A% o& G3 d公仔箱論壇case 3( w4 P- [9 |# [' P2 V
1234=5678, this case u only have 9 10 11 12 as possible, this is easy enough that i don't need to explain
7 O2 p" v" I9 f6 A' wtvb now,tvbnow,bttvb
/ o6 {- d1 G) o* A2 ]- V _TVBNOW 含有熱門話題,最新最快電視,軟體,遊戲,電影,動漫及日常生活及興趣交流等資訊。[ 本帖最後由 l0709394 於 2007-5-8 10:15 AM 編輯 ] |