-
C语言作的四色验证1.需求分析问题描述:证明了可以用不多于4种颜色对n个区域着色,而满足相邻的区域具有不同的颜色输入形式 : 暂定最多50个区域,如需证明更多区...
C语言作的四色验证1.需求分析问题描述:证明了可以用不多于4种颜色对n个区域着色,而满足相邻的区域具有不同的颜色输入形式 : 暂定最多50个区域,如需证明更多区域,修改#define S 50 即可;以整形形式输入(取值范围1-32767)用户需要证明的区域数目,相联的一对矩阵; 输出形式:以0和1输出关联矩阵,和以blue yellow orange pink形式输出每个区域相对应证明出的颜色;-C language does four colors confirm 1. demands analyses
question description: Had proven may use not to be many to 4 kind of
colors to n region coloration, but satisfies the neighboring region to
have the different color input form: Establishes provisionally more
than 50 regions, if must prove more regions, revise#define S 50 then;
Region number (value scope 1-32767) the user needs to prove which by
the reshaping form input, unites a pair of matrix; Output form: By 0
and 1 output incidence matrixs, with form outputs the color by blue
yellow orange the pink which each region corresponds proves;
- 2022-10-20 02:35:04下载
- 积分:1
-
有很多的算法,让您来处理信息存储…
There are numerous algorithms that allow you to manipulate the information stored in an array. Consider this function which allows you to determine the maximum value in an array of integers (could be easily adapted to find minimum value)-There are numerous algorithms that allow you to manipulate the information stored in an array. Consider this function which allows you to determine the maximum value in an array of integers (could be easily adapted to find minimum value)
- 2022-03-03 22:58:15下载
- 积分:1
-
c语言求解线性矩阵
算例1:使用逐次相乘求两个实矩阵乘积的程序,运行效果如附图1.
程序中预置了两个实矩阵A,B,运行后输出它们的乘积。
知识点:实矩阵相乘的法则及程序实现。
算例2:高斯消去法解线性方程
求解N阶线性代数方程组Ax=B的小程序,运行效果如附图2.
程序中预先给定了系数矩阵A和值向量B的值,执行后输出解向量。
知识点:消去法矩阵运算的程序实现。
算例3:求n阶实矩阵A的逆矩阵A-1的小程序,运行效果如附图3.
程序中预置了A的值,运行后分别输出A,A-1和A*A-1的值。
知识点:高斯-约当消去法的计算方法及程序实现。
- 2022-08-11 01:43:36下载
- 积分:1
-
一维等离子体的plrc―fdtd算法程序
一维等离子体的plrc―fdtd算法程序-one-dimensional plasma plrc- fdtd Algorithm
- 2022-03-12 09:53:20下载
- 积分:1
-
各种排序算法小结
各种排序算法小结-various sorting algorithm Summary
- 2022-02-20 17:17:33下载
- 积分:1
-
快速排序算法
使用java写的算法,描述了快速排序!分为递归和非递归两种方法!static void QuickSort (int a[], int p, int r)
{
if (p x的元素交换到右边区域
- 2022-01-25 21:30:05下载
- 积分:1
-
这是拉格朗日插值的源码
这是拉格朗日插值的源码-This is the source Lagrange interpolation
- 2022-02-10 05:58:03下载
- 积分:1
-
算法-贝尔曼-福特
algoritm - 贝尔曼 - 福特。
这是如何运作的?像其他动态规划问题,该算法计算自下而上地的最短路径。它先计算出的最短距离为具有在路径中在最一个边缘的最短路径。然后,它计算与在-NOST2的边缘,依此类推最短路径。外循环的第i次迭代后,用至多我边计算出的最短路径。可以有最大| V | - 在任何简单的路径1的边缘,这就是为什么在外循环运行的| v| - 1次。我们的想法是,假设不存在负权重周期,如果我们已经计算了最短路径至多我的边缘,然后迭代在所有边的保证,得到最短路径与在最第(i +1)个边(证明是简单,你可以参考这个或麻省理工学院的视频讲座)
- 2022-08-15 15:32:57下载
- 积分:1
-
KNN 分类
你好。我在写程序的一种非参数方法分类。我希望它能有帮助的人
- 2022-04-17 23:13:33下载
- 积分:1
-
QPSK调制解调算法FPGA实现代码
该算法实现了QPSK调制解调,载波同步算法采用costas环,位定时采用Gardner算法
- 2023-04-22 23:35:05下载
- 积分:1