-
关于猎人过河问题 要解决这个问题就要使过河时载两个过河,返回时尽量只有一个回来。用一个字符串数组来存猎人,狼,羊,白菜;下标依次为0,1,2,3;但他们都有河这...
关于猎人过河问题 要解决这个问题就要使过河时载两个过河,返回时尽量只有一个回来。用一个字符串数组来存猎人,狼,羊,白菜;下标依次为0,1,2,3;但他们都有河这边和那边两种状态;为方便则定义一个结构,只含一个int型变量n;当在河这边时n设为0;在河那边时n设为1。由于每次过河与返回都要考虑狼能否吃羊或羊能否吃白菜;则需要一个函数来判断每次选择是否满足条件。-Hunters across the river on the issues to resolve this issue so we should cross the river when the two set out across the river to return to when there is only one back as far as possible. Using a string array to keep hunters, the wolf, sheep, and cabbage subscript followed by 0,1,2,3 but they have a river here and there two states To facilitate the definition of a structure containing only an int variable n When in the river here when n is set to 0 in the river when n is set to one side. Due to cross the river and return each time to consider whether the wolf can eat the sheep吃羊or cabbage you need a function to determine each choose whether or not to meet the conditions.
- 2022-09-15 08:35:04下载
- 积分:1
-
a "symmetric matrix multiplication" examples. Containing five source f...
一个“对称矩阵相乘”的实例。其中包含5个源文件。编译运行后,由用户输入两个矩阵,程序自动输出结果-a "symmetric matrix multiplication" examples. Containing five source files. Compiling and running, two from user input matrix, automatically output
- 2022-03-26 15:03:43下载
- 积分:1
-
输入任意大小的矩阵阶数n,程序将自动生成…
输入任意大小的矩阵阶数n,程序将自动产生一个随机矩阵迷宫。本程序可以迅速的找到所有可能的路径,并显示之。代码中故意限制只显示最多30条路径。-arbitrary size of the input matrix order n, the program will automatically generate a random matrix maze. This program can quickly find all possible paths, and Displays. Code intentionally limited only to a maximum of 30 trails.
- 2022-07-24 00:29:25下载
- 积分:1
-
CPU访问信息库,英特尔芯片的资料,包括…
一个获得CPU信息的DLL,可以获得Intel系列芯片的信息,包含范例程序-a CPU access to information DLL, the Intel chips available information, including sample programs
- 2022-07-17 14:57:51下载
- 积分:1
-
问题集是你可以从不同的地方找到大量问题的地方…
Problem Set is the place where you can find large amount of problems from different programming contests. Online Judge System allows you to test your solution for every problem.-Problem Set is the place where you can find large amount of problems from different programming contests. Online Judge System allows you to test your solution for every problem.
- 2022-07-19 21:35:20下载
- 积分:1
-
猜数游戏,看你几次能猜对随机产生的数字,猜错了会有猜高或低的提示...
猜数游戏,看你几次能猜对随机产生的数字,猜错了会有猜高或低的提示
- 2023-01-01 12:40:06下载
- 积分:1
-
C 编程教程
这是 C progrraming 教程从马丁 · 迪基博士从华盛顿大学从初学者到中级水平。Quiteful 很有帮助和 ppt 文件,源代码提供的视频演示。
- 2022-03-01 23:53:29下载
- 积分:1
-
Жордан шугаман тэгшитгэлийн систем
#包括;
- 2022-09-29 15:00:02下载
- 积分:1
-
simple calculators, and support for multiple operators. Importation of expressio...
简单计算器,支持多种运算符。输入表达式:1+2,然后回车,即可得到结果-simple calculators, and support for multiple operators. Importation of expression : 1 2, and then Enter, the results can be obtained
- 2022-11-12 02:15:03下载
- 积分:1
-
Windows下的服务程序,一个server,一个client,server监听SOCKET
Windows下的服务程序,一个server,一个client,server监听SOCKET-serve program in windows,a server ,a client ,
server listen socket
- 2022-03-18 05:05:17下载
- 积分:1