User Tools

Site Tools


interview:question

1. 有10瓶药,每瓶药重量是固定的,有瓶被污染了重量会重一点。现在怎么最快找出来,哪瓶药被污染了?

Re: 称一下总重量然后算出每颗药,重了多少比如 每颗中了0.1克。给每瓶编个号,第1瓶拿一颗,第2瓶拿两颗。然后放在一起称一下。重了0.5克,那就是第5瓶被污染了。

interview/question.txt · Last modified: 2018/07/24 08:13 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: 沪ICP备12046235号-2
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki