返回列表 回復 發帖
see xia da an
want to know
我来看看
check ans..
6 and 6 then 3 and 3 then 1 and 1
5識答?
thank you
将12个乒乓球分成平均两份,称一次, ?5 S& R: D3 `1 `$ y9 p& M
将比较重的那份再平均分成两份成一次
. n, R+ S+ l3 O0 h4 Stvb now,tvbnow,bttvb剩下3个随意拿两个来称,如果天平平衡就是第三个,如果不平衡就是重的那个
thank
Thanks!
第一次系一边四个,一边四个秤既
1 - compare 4 with 4+ P; f6 u' X- w6 Z( C
if  (4v4)= same that means the rest of 4 is got more weight
. o1 E+ J7 q/ s  T: ?* }  v5 r    then goto 2 - compare rest of(4)  - 2 with 2 " |4 \9 m  u7 f, l# O4 X1 [- D* m
           if (left side is more weight)os.tvboxnow.com3 _; F7 D' ]5 f: q+ P
              then goto 3 - compare last (left side of ( 2) - 1 with 1 => get answer
) P1 Z4 A$ t2 c* T* {: N2 ptvb now,tvbnow,bttvb          else ( right side is more weight)
! `/ J+ R& W2 V# ]% _3 q              then goto 3 - compare last (right side of (2) - 1 with 1 => get answer
9 T/ x- c, @- Uos.tvboxnow.comelse ( the left 4) then compare with above  , or right 4 also can compare above method...
想了好久都不行
我的做法与4楼的做法一致,这样应该可以排除出来。但这个题目有个漏洞,只说重量异常,没说是重了,还是轻了。
返回列表