返回列表 回復 發帖
see xia da an
want to know
我来看看
check ans..
6 and 6 then 3 and 3 then 1 and 1
5識答?
thank you
将12个乒乓球分成平均两份,称一次公仔箱論壇% s7 ?+ C: r9 C) e9 o& [2 f5 \4 U
将比较重的那份再平均分成两份成一次
3 ^! F/ K: @  X" a4 Y剩下3个随意拿两个来称,如果天平平衡就是第三个,如果不平衡就是重的那个
thank
Thanks!
第一次系一边四个,一边四个秤既
1 - compare 4 with 4
* R- F% f- E* R, i3 O5.39.217.76if  (4v4)= same that means the rest of 4 is got more weighttvb now,tvbnow,bttvb, @7 O) {9 ?# O: D' k
    then goto 2 - compare rest of(4)  - 2 with 2 8 n7 k4 _( L) V' X% c" p
           if (left side is more weight)
: ~* ~& e) n# P7 |8 `4 r5 [" z% B公仔箱論壇              then goto 3 - compare last (left side of ( 2) - 1 with 1 => get answer
/ T8 b" g& O4 t* o/ B, ~& X0 B- K          else ( right side is more weight)
( h: a6 }7 I, ?5 p9 {# O% Y              then goto 3 - compare last (right side of (2) - 1 with 1 => get answer
, L  [& g" @) \* B- W0 H公仔箱論壇else ( the left 4) then compare with above  , or right 4 also can compare above method...
想了好久都不行
我的做法与4楼的做法一致,这样应该可以排除出来。但这个题目有个漏洞,只说重量异常,没说是重了,还是轻了。
返回列表