Location:
Search - farmer wolf
Search list
Description: C++开发的。农夫过河。一个农夫带着一只狼,一只羊和一些菜过河。河边只有一条一船,由 于船太小,只能装下农夫和他的一样东西。在无人看管的情况下,狼要吃羊,羊要吃菜,请问农夫如何才能使三样东西平安过河。
-C development. Farmers across the river. A farmer with a wolf, a goat and some vegetables across the river. Only a river boat, the boat is too small to install under the farmer and his thing. Unattended circumstances, the wolf to Qiyang, the sheep to the meal, ask the farmers how to make three things safely across the river.
Platform: |
Size: 1872 |
Author: 李雷 |
Hits:
Description: 农夫过河:农夫带着一只狼、一只羊、一颗白菜,要从河的左岸过去河的右岸。狼要吃羊,羊要吃白菜,只有农夫在的的时候才不会右被吃的情况发生,要怎么过河呢?-farmer across the river : a farmer with a wolf, a goat, a Chinese cabbage, from the left bank of the river past the right bank of the river. Wolf to Qiyang, the sheep eat cabbage, the only farmer in the time would not be right to eat happen, how the river?
Platform: |
Size: 1300 |
Author: 王丽霞 |
Hits:
Description: 农夫 狼 羊 菜 过河 问题 sdfd-wolf sheep farmer vegetables river issues sdfd
Platform: |
Size: 1089 |
Author: 112358 |
Hits:
Description: 小时候,我看到过这样的一道智力题: 一个农夫带着一只狼,一只羊和一些菜过河。河边只有一条船,由于船太小,只能装下农夫和他的一样东西。在无人看管的情况下,狼要吃羊,羊要吃菜,请问农夫如何才能使三样东西平安过河。经过不难的推理,相信读者都能轻而易举的解出这道题。但是,我们是否能用计算机解这一道题呢?答案是肯定的。本文就让读者去领略一下计算机快速解决问题。-was a kid, I saw the intelligence that one : a farmer with a wolf, a goat and some vegetables across the river. Only a river boat, small boat, can only put under farmer and his thing. Unattended circumstances, the wolf to Qiyang, the sheep to the meal, ask the farmers how to make three things safely across the river. It is not difficult to read the reasoning, I believe readers are easily able to come up with Jesus. However, we can use the computer solutions for this and that? The answer is yes. This paper to let readers understand what computer quick fixes to the problem.
Platform: |
Size: 8648 |
Author: 赵机密 |
Hits:
Description: 小时候,我看到过这样的一道智力题: 一个农夫带着一只狼,一只羊和一些菜过河。河边只有一条船,由于船太小,只能装下农夫和他的一样东西。在无人看管的情况下,狼要吃羊,羊要吃菜,请问农夫如何才能使三样东西平安过河。经过不难的推理,相信读者都能轻而易举的解出这道题。但是,我们是否能用计算机解这一道题呢?答案是肯定的。本文就让读者去领略一下计算机快速解决问题。-was a kid, I saw the intelligence that one : a farmer with a wolf, a goat and some vegetables across the river. Only a river boat, small boat, can only put under farmer and his thing. Unattended circumstances, the wolf to Qiyang, the sheep to the meal, ask the farmers how to make three things safely across the river. It is not difficult to read the reasoning, I believe readers are easily able to come up with Jesus. However, we can use the computer solutions for this and that? The answer is yes. This paper to let readers understand what computer quick fixes to the problem.
Platform: |
Size: 8192 |
Author: 赵机密 |
Hits:
Description: C++开发的。农夫过河。一个农夫带着一只狼,一只羊和一些菜过河。河边只有一条一船,由 于船太小,只能装下农夫和他的一样东西。在无人看管的情况下,狼要吃羊,羊要吃菜,请问农夫如何才能使三样东西平安过河。
-C development. Farmers across the river. A farmer with a wolf, a goat and some vegetables across the river. Only a river boat, the boat is too small to install under the farmer and his thing. Unattended circumstances, the wolf to Qiyang, the sheep to the meal, ask the farmers how to make three things safely across the river.
Platform: |
Size: 2048 |
Author: 李雷 |
Hits:
Description: 农夫过河:农夫带着一只狼、一只羊、一颗白菜,要从河的左岸过去河的右岸。狼要吃羊,羊要吃白菜,只有农夫在的的时候才不会右被吃的情况发生,要怎么过河呢?-farmer across the river : a farmer with a wolf, a goat, a Chinese cabbage, from the left bank of the river past the right bank of the river. Wolf to Qiyang, the sheep eat cabbage, the only farmer in the time would not be right to eat happen, how the river?
Platform: |
Size: 1024 |
Author: 王丽霞 |
Hits:
Description: 农夫 狼 羊 菜 过河 问题 sdfd-wolf sheep farmer vegetables river issues sdfd
Platform: |
Size: 1024 |
Author: |
Hits:
Description: 自己写的一个农夫,狼,羊,白菜过河问题的源代码.-Himself a farmer, wolf, sheep, and cabbage across the river
Platform: |
Size: 281600 |
Author: 曹彪 |
Hits:
Description: 用于实现农夫过河问题,使农夫 狼 羊 蔬菜可以安全过河-For the realization of farmers across the river, so that the wolf sheep farmer vegetables can safely cross the river
Platform: |
Size: 3072 |
Author: zy |
Hits:
Description: cout< "有一个农夫带一只羊、一筐菜和一只狼过河. "<<endl
cout<<"如果没有农夫看管,则狼要吃羊,羊要吃菜."<<endl
cout<<"但是船很小,只够农夫带一样东西过河。"<<endl
cout<<"问农夫该如何解此难题?"<<endl-cout < < " there is a farmer with a sheep, a wolf across the river一筐and vegetables." < <endl
cout<<"如果没有农夫看管,则狼要吃羊,羊要吃菜."<<endl
cout<<"但是船很小,只够农夫带一样东西过河。"<<endl
cout<<"问农夫该如何解此难题?"<<endl
Platform: |
Size: 1024 |
Author: 郁浪 |
Hits:
Description: the farmer, wolf, goat, cabbage project
Platform: |
Size: 1024 |
Author: kaveh |
Hits:
Description: 用C语言编写的农夫过河问题,解决羊,白菜,狼的过河问题-Farmer with a C language cross the river and solve sheep, cabbage, wolf river issues
Platform: |
Size: 1024 |
Author: 骞骞 |
Hits:
Description: 农夫过河问题描述的是一个农夫带着一只狼、一只羊和一棵白菜,处于河的南岸,而他要将这些东西带到北岸。但是他面前只有一条小船,而每次他只能带一件东西过河,由于食物链的关系,他不能将狼和羊同时留下,也不能将羊和白菜同时留下,但可以将狼和白菜同时留下。编写一段代码,描述农夫所采用的过河方法。
-Problem description farmer across the river is a farmer with a wolf, a sheep and a cabbage, in the south bank of the river, and he brought these things to north. However, only a small boat in front of him, but he could only bring one thing each river, as the relationship between food chain, he can not leave the wolf and the sheep at the same time, nor can the sheep and cabbage leaves at the same time, but it can be the wolf and Chinese cabbage leaves at the same time. Write a code to describe the farmer across the river used method.
Platform: |
Size: 9216 |
Author: 李晓东 |
Hits:
Description: 经典的农夫羊狼白菜过河问题,每次农夫只能带一个动物或物品,而要防止狼吃羊羊吃白菜
-Wolf sheep cabbage farmer classic problem across the river, each farmer can only take an animal or article, but to prevent the wolves eat sheep sheep eat cabbage
Platform: |
Size: 1024 |
Author: 宋志源 |
Hits:
Description: 用vc++编写的程序,实现了农夫,狼,羊,白菜过河的经典问题,源码通过调试,可运行出结果-With programs written in vc++ to realize the farmer, wolf, sheep, and cabbage across the river in the classical problem, the source code through the debugger, run the result
Platform: |
Size: 3072 |
Author: 陈素敏 |
Hits:
Description: 农夫过河程序。农夫载狼、羊、菜过一条河,每次只允许农夫和其中最多一样过河。若无农夫看管,狼若和羊在一起时,狼会吃掉羊;若羊和菜一起时,羊会吃掉菜。使农夫、狼羊和菜安全到达河的对岸。-The farmer across the river program. Farmer set the wolf, sheep, vegetables across a river, each of which allows only up to the farmer and the same river. Without the farmer custody, if the wolf and sheep together, the wolf will eat the sheep if sheep and vegetables together, the sheep will eat the food. The farmer, the wolf and the sheep across the river to reach food security.
Platform: |
Size: 1024 |
Author: zhaoshu |
Hits:
Description: 过河问题,农夫带狼、羊、白菜在一定条件下过河-Crossing problem, the farmer with the wolf, sheep, and cabbage across the river, under certain conditions
Platform: |
Size: 1024 |
Author: 潘 |
Hits:
Description: 农夫狼羊白菜过河,农夫不在,狼会吃羊,羊会吃白菜,船只能同时载两样东西,但只有农夫会划船,问怎样才能安全过河-Wolf sheep cabbage farmer across the river, not the farmer, the wolf will eat the sheep, the sheep will eat the cabbage, the ship only contained two things simultaneously, but only the farmer will be boating, ask how it can be safely across the river
Platform: |
Size: 659456 |
Author: 李明 |
Hits:
Description: 一个农夫带着—只狼、一只羊和—棵白菜,身处河的南岸。他要把这些东西全部运到北岸。他面前只有一条小船,船只能容下他和—件物品,另外只有农夫才能撑船。如果农夫在场,则狼不能吃羊,羊不能吃白菜,否则狼会吃羊,羊会吃白菜,所以农夫不能留下羊和白菜自己离开,也不能留下狼和羊自己离开,而狼不吃白菜。请求出农夫将所有的东西运过河的方案。-A farmer with- wolves, a sheep and- cabbage, living in the river' s south bank. All these things he wanted shipped to the North Shore. He is only one boat in front of the boat can only put him and- items, in addition to punt only farmer. If the farmer is present, the wolf can not eat the sheep, the sheep can not eat cabbage, or the wolf will eat the sheep, the sheep will eat the cabbage, so the farmer can not leave his sheep and cabbage left, leaving the wolf and the sheep can not he left, the wolf is not eat cabbage. Request a farmer across the river to transport all the things the program.
Platform: |
Size: 14336 |
Author: 潇洒 |
Hits: