活动次序-过河(Crossing the River)
谜之物语吧
全部回复
仅看楼主
level 13
A111PMET 楼主
一个农场主想要带着一匹狼、一只山羊和一头卷心菜过河。有一艘只能容纳下他自己和狼、山羊、卷心菜其中之一的船。如果狼和山羊单独在岸边,狼就会吃了山羊。如果山羊和卷心菜单独在岸边,山羊就会吃了卷心菜。
那么这个农场主如何才能带着一匹狼、一只山羊和一头卷心菜到河的对面呢?
- - - - - - - - - - - - - - - -
A farmer wants to cross a river and take with him a wolf, a goat, and a cabbage. There is a boat that can fit himself plus either the wolf, the goat, or the cabbage. If the wolf and the goat are alone on one shore, the wolf will eat the goat. If the goat and the cabbage are alone on the shore, the goat will eat the cabbage.
How can the farmer bring the wolf, the goat, and the cabbage across the river?
译自wikibooks。
2010年06月20日 07点06分 1
1