-
bankers algorithm
calender
colour
bankers algorithm
calender
colour-bankers algorithm
calender
colour
- 2022-03-05 07:52:53下载
- 积分:1
-
百钱买百鸡算法设计和分析
应用背景方法一:伪代码输入: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
-
移动 Ad-hoc 网络模拟
此应用程序不仅演示使用 Microsoft 基础类的基本知识,也是您编写应用程序的起始点。
此文件包含的什么你会发现在每个文件,让您的广告特设模拟的应用程序的摘要。
- 2022-11-17 09:25:02下载
- 积分:1
-
adaptive vector algorithm (VQ) source VQ
自适应矢量化算法(VQ)源程序VQ-adaptive vector algorithm (VQ) source VQ
- 2022-03-02 02:15:11下载
- 积分:1
-
一个acm算法题目 问题描述: 有一个黑盒子,可视为一个15×10的二维矩阵,里面有一些空隙,在二维矩阵中用0表示空隙,用1表示被占有。现有一个仪器,可以从4个...
一个acm算法题目 问题描述: 有一个黑盒子,可视为一个15×10的二维矩阵,里面有一些空隙,在二维矩阵中用0表示空隙,用1表示被占有。现有一个仪器,可以从4个方向对盒子进行分行透视:从左到右,从左下到右上,从下到上,从右下到左上。透视可得到该二维矩阵的该行1的个数。要求,还原此矩阵。 输入:4行,每一行分别代表从左到右,从左下到右上,从下到上,从右下到左上透视所得的数据 输出:该矩阵 使用的方法是回溯法,具体见程序-a acm algorithm topic Problem description : a black box, as a 15 x 10 two-dimensional matrix, there are some gaps in two-dimensional matrix using 0 indicates the gap, with a show that occupies. An existing equipment, from the direction of four branches box for perspective : from left to right, from the lower left to upper right, from bottom to top, from the lower right to upper left. Perspective availability of the two-dimensional matrix of the line a number. Demand reduction of this matrix. Input : 4 firms on behalf of every line from left to right, from the lower left to upper right, from bottom to top, from the upper left to lower right perspective on data obtained from the output : the matrix method is the use of backtracking, see the specific procedures
- 2022-07-08 10:50:46下载
- 积分:1
-
signal processing of time
时频富FFT的信号处理
- 2022-11-03 13:25:03下载
- 积分:1
-
从头和尾同时进行冒泡排序
从头和尾同时进行冒泡排序-Do bubble sort from the head and from the tail at the same time
- 2022-01-25 18:12:51下载
- 积分:1
-
计算机图形学CDC类的应用
应用背景visualC++制作汉子的逐个显示动画,输出“你好!欢迎你来到山西大同大学!!!”关键技术CDC类的应用,visualC++编程
- 2022-05-22 15:59:12下载
- 积分:1
-
数学建模方法,写论文的重要帮助,不会建模可写不出高质量的文章啊。...
数学建模方法,写论文的重要帮助,不会建模可写不出高质量的文章啊。-Mathematical modeling method, an important thesis help, will not be high-quality modeling can not write an article ah.
- 2022-12-25 01:20:03下载
- 积分:1
-
扫雷(图遍历)
背景
你玩儿过扫雷游戏吧?有个操作系统中带了这个小游戏,那个系统叫什么来着?;-)在游戏中要想过关,就必须要在一个 NxM 的区域上找出所有的地雷。游戏过程中,计算机会在地图上显示一些数字从而帮助你确定哪里有地雷。例如,在下面这个有两颗地雷的 4x4 的地图(*表示地雷):
*...
....
.*..
....
根据上面的地图,可以计算出应该提供给游戏者的数字如下所示:
*100
2210
1*10
1110
每个数字表示了该方格周围到底有几个地雷,当然,一个方格周围最多的时候只会有八个。
输入
输入中将包括一系列的地图,每个地图的第一行有两个整数 n 和 m(0
- 2022-01-25 19:22:18下载
- 积分:1