Interesting thinking-safe cross-river

Source: Internet
Author: User

There is a river with hunters, wolves, a man and two of his children along the bank, and a female and two of her children;
If the hunter leaves, the wolf will eat all the people. If the man leaves, the woman will throw the two children of the man to death, such

If a woman leaves, the man will throw her two children to death. There is a ship in the river, and only two people can ride on the ship at a time (attached

Condition: only hunters, men, and women can boating.) Q: How can these eight people cross the river )?

 

Solution: 1. The hunter delivers the wolf to the other side and returns it. Then, the hunter delivers the boy to the other side and brings the wolf back together.

2. the hunter and the Wolf return to the shore and get off the ship together. The man takes his other child to the other side.

At this point, the other side has the following: a man and two of his children, a boat.

 

3. A man rowing back to the shore from the other side, bringing a woman to the other side again, and then the woman rowing back from the other side alone

Shore. (The purpose of this operation is to bring the ship back to the shore)

4. Women get out of the ship, hunters and wolves get on the ship, move to the other side, and get off the ship.

At this point, the other side has the following: a man and two of his children, a hunter and a wolf, and a ship.

 

5. The man rowing back to the shore, bringing the woman to the other side, and then the woman rowing back from the other side.

The purpose is to hand over the right to use a ship to a woman)

6. A woman takes her own child to the other side of the ship and disconnects from the ship.

At this point, the other side has: a man and two of his children, a hunter and a wolf, a female and one of her children, a ship.

 

7. the hunter and the wolf go to the ship and draw them back to the shore. Then the hunter takes another child of the woman to the ship and delivers it to the other side.

8. The hunter went back to the shore by boat alone and took the wolf onto the ship and crossed the ship to the other side.

Finished.

 

 

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.