Virus test in mice

Source: Internet
Author: User

 

The questions are as follows:

There are 1000 Identical bottles in the lab, but one of them is toxic. You can use lab mice to test which bottle is a poison. If the mouse drinks the poison, it will die in a week. The potion in other bottles has no side effects. Could you tell me the minimum number of mice that can be used to find out which bottle is poison within a week:
A.9
B. 10
C. 32
D. 999.
E. None of the above

 

1111111111 (1023)-10000 (16)-100 (4)-10 (2)-1 (1) = 1111101000 (1000), which is 1000 in decimal format. Let the bottles and mice be arranged in a column. When the station is ready, do not move. Then, convert the number from 1 to 1000 to a 10-bit long binary string, just one to one with 10 mice. Which of the binary numbers in a bottle is 1? Let the mice have something to drink. In the future, all the mice that have been drunk will be killed, but none of them will be killed. We will designate it as toxic!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.