返回列表 回復 發帖
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.39.217.76, }7 Q- H3 `7 y+ x) w
将比较重的那份再平均分成两份成一次; P% w3 C6 H4 [  O
剩下3个随意拿两个来称,如果天平平衡就是第三个,如果不平衡就是重的那个
thank
Thanks!
第一次系一边四个,一边四个秤既
1 - compare 4 with 4
- C* S/ F- d3 J" D) t公仔箱論壇if  (4v4)= same that means the rest of 4 is got more weight
, G) |3 l6 s5 ?2 k; g9 G    then goto 2 - compare rest of(4)  - 2 with 2 , k$ b0 T4 e; U4 s' ~+ q
           if (left side is more weight)
) x* _& ^. @6 w# W5.39.217.76              then goto 3 - compare last (left side of ( 2) - 1 with 1 => get answer
% v/ a( u  l1 G% f* d9 C: \" p% H5.39.217.76          else ( right side is more weight)tvb now,tvbnow,bttvb  K0 j, f0 \2 V, }
              then goto 3 - compare last (right side of (2) - 1 with 1 => get answertvb now,tvbnow,bttvb8 ^5 u7 w/ ]0 S7 w  q
else ( the left 4) then compare with above  , or right 4 also can compare above method...
想了好久都不行
我的做法与4楼的做法一致,这样应该可以排除出来。但这个题目有个漏洞,只说重量异常,没说是重了,还是轻了。
返回列表