登录
首页 » 算法 » C语言作的四色验证1.需求分析问题描述:证明了可以用不多于4种颜色对n个区域着色,而满足相邻的区域具有不同的颜色输入形式 : 暂定最多50个区域,如需证明更多区...

C语言作的四色验证1.需求分析问题描述:证明了可以用不多于4种颜色对n个区域着色,而满足相邻的区域具有不同的颜色输入形式 : 暂定最多50个区域,如需证明更多区...

于 2022-10-20 发布 文件大小:108.34 kB
0 202
下载积分: 2 下载次数: 1

代码说明:

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;

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Sayı Toplama
    2022-02-05 13:44:02下载
    积分:1
  • 高斯消元课件,将的很详细,对求解最小二乘有较大的帮助。...
    高斯消元法课件,将的很详细,对求解最小二乘法等算法有较大的帮助。-Gauss elimination method courseware will be very detailed and algorithms for solving the least square method and so on greater help.
    2023-03-01 13:00:04下载
    积分:1
  • 多频段测试
    多频测试外场测试,计算路径损耗,比较理论路径损耗模型的偏差计算
    2022-01-29 01:08:26下载
    积分:1
  • DSP中输入信号的生成过程。 conio.cpp实现X(n)信号,其中有两个频率分量的正弦信号(正弦计由sinwn.cpp实现),频率可变,这里取140Hz和...
    DSP中输入信号的生成过程。 conio.cpp实现X(n)信号,其中有两个频率分量的正弦信号(正弦计算由sinwn.cpp实现),频率可变,这里取140Hz和70Hz。 考虑了高斯白噪声,由gauss.cpp实现。 最后该信号共产生2000个点,最后的信号点存储于 “x.txt”文本中。-DSP input signal generation process. Conio.cpp achieve X (n) signal, in which there are two components of the frequency sinusoidal signals (sine calculation sinwn.cpp achieved), variable frequency, here and frequencies from 140Hz. Consider a Gaussian white noise from gauss.cpp achieve. Finally, the signal generated 2,000 points, the final point signal storage in the "x.txt" text.
    2022-01-25 22:01:32下载
    积分:1
  • K-均值
    Hadoop 基地 K-均值算法 2013 年 11 月 29 日。现在我们释放 ankus 0.1 ! Ankus 0.1 的新功能 1) 分类-ID3 2) 聚类-EM 3) 相似性-基于内容的相似性 建议基于项目 4) 建议系统- 5) 建议验证模块 (使用 RMSE)
    2022-01-25 17:58:36下载
    积分:1
  • FT频谱选带细化程序
    基于DFT的频谱细化程序
    2023-08-19 00:20:03下载
    积分:1
  • 基于眼动跟踪的驾驶员疲劳检测
    Driver Fatigue Detection Based on Eye Tracking
    2022-03-18 05:38:51下载
    积分:1
  • Householder transformation based on the QR decomposition. The use of Householder...
    基于Householder transformation的QR分解。 其使用需要调用Householder transformation程序。-Householder transformation based on the QR decomposition. The use of Householder transformation procedures need to call.
    2022-07-21 07:52:35下载
    积分:1
  • 图像缩放(线性插值
    图像缩放(线性插值法)-image scaling (linear interpolation)
    2022-04-06 22:17:38下载
    积分:1
  • 最小不重复数问题
    问题描述:给定一个数n,找出大于这个数的最小不重复数(任意相邻位数字不相同)。 程序给出了两种方法:find和find1,其中find1属于暴力法,直接从n+1开始寻找,每次加1,知道找到满足条件的不重复数为止。 第二种方法比较巧妙,将n各位数字存到一个数组a[]里,下标大小对应位数高低,比如1234,数组a[0...3]依次为1,2,3,4;从最高位开始找相邻的重复数,较低的重复位加1带进位,高位循环加进位直到无进位,低位置零;回到次高位重新寻找重复位,直到无重复位。
    2022-05-13 23:24:34下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载