-
百钱买百鸡算法设计和分析
应用背景方法一:伪代码输入:n只鸡的个数 输出:公鸡、母鸡和小鸡的个数1、初始化解的个数count=0; 2、循坏变量从x从0~n/5(取整); 2.1循环变量y从0~n/3(取整); 2.1.1 循环变量z从0~n; 2.1.2 如果5*x+3*y+z/3==n && x+y+z==n,则count++;输出x、y、z的值; 2.1.3 y++;
- 2022-03-20 10:38:58下载
- 积分:1
-
求解一个数是否为素数
大学C语言作业练习,求解一个数是否是素数,通过运行程序,输入一个数字,程序将自动判断这个数是否为素数。给出相应的结果。
- 2022-06-01 12:44:36下载
- 积分:1
-
是个进行多字节的除法
是个进行多字节的除法-is a multi-byte division
- 2022-05-05 11:44:02下载
- 积分:1
-
好玩的游戏,经典的游戏终于成功了
应用背景你玩儿过扫雷游戏吧?Windows操作系统中带了这个小游戏,那个系统叫什么来着?在游戏中要想过关,就必须要在一个 NxM 的区域上找出所有的地雷。游戏过程中,计算机会在地图上显示一些数字从而帮助你确定哪里有地雷。关键技术Have you ever played the game? Windows operating system with this little game, the system called what? In the game to pass, it is necessary to find out all the mines in a NxM area. In the process of the game, the computer will show some numbers on the map to help you identify where you are.
- 2022-03-26 14:34:01下载
- 积分:1
-
c++实现坦克大战游戏
用C++编写的坦克大战游戏,可以参考参考,经本人运行检验过!游戏做得很精致,是个学习vc的好例子,对类的用法很精髓,使用了多种高级编程技术,多线程,动画处理,消息打包和解包,定时,地图传输,图像管理,键盘管理等等,是一个不可多得的学习高级windows编程的材料啊!
- 2022-10-11 08:10:03下载
- 积分:1
-
最优网络01匹配算法。
最优网络01匹配算法。-optimal matching algorithm.
- 2023-08-10 15:40:03下载
- 积分:1
-
计算涡轮特性的程序
计算涡轮特性的程序-turbine calculation procedures
- 2022-01-21 04:42:05下载
- 积分:1
-
C语言对文件哈夫曼编码压缩,而不是通过范畴…
用C语言实现哈夫曼编码对文件进行压缩,并没有通过类来实现,只是用标准的C语言中结构实现的,代码内部说明比较详细,具体可以看代码,包括对文件的编码也解码.-C language of the document Huffman coding compression, and not through the categories to fruition, but the standard C language structure to achieve, and the internal code note in greater detail, the specific code can be seen, including the encoding of the document also decoder.
- 2022-05-19 13:57:26下载
- 积分:1
-
大量数值计算的算法
大量数值计算的算法-large numerical algorithm
- 2022-09-03 21:25:03下载
- 积分:1
-
LZ77压缩编码算法的C代码,VC开发.
LZ77压缩编码算法的C代码,VC开发.-LZ77 compression algorithm C code, VC development.
- 2022-02-26 22:33:26下载
- 积分:1