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

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

于 2022-10-20 发布 文件大小:108.34 kB
0 223
下载积分: 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 个回复

  • 五子棋游戏
    用C++编写的五子棋游戏
    2022-11-06 14:00:03下载
    积分:1
  • 背包问题
    背包问题或背囊问题是组合优化中的一个问题: 鉴于一组项目,每个都有大量和一个值,确定每个项目中包含在集合中,这样,总重量是小于或等于给定的限制和总价值是尽可能大的编号。它把它的名字源于所面对的人的问题,受的限制,大小固定的背包,并必须填充的最有价值的项目。 此代码是背包问题的动态编程和递归函数。
    2022-03-04 17:05:51下载
    积分:1
  • Gauss
    Gauss-Seidal迭代法(带精度限制)-Gauss-Seidal iterative method (with accuracy limit)
    2023-05-16 13:40:02下载
    积分:1
  • 简单的遗传算法,对函数优化具有很高的优越性。
    简单的遗传算法,对函数优化具有很高的优越性。-A simple genetic algorithm, function optimization with a high superiority.
    2022-09-15 16:10:04下载
    积分:1
  • 1 compiler environment for the realization of graphics vb6.02 need to install Au...
    1 编译环境为vb6.0 2 实现绘图功能需要安装AutoCAD2000以上版本. 3 程序运行需要动态连接库LSOLVE1.dll提供线性方程组求解功能,建议把LSOLVE1.dll拷贝到系统目录,或者拷贝到执-1 compiler environment for the realization of graphics vb6.02 need to install AutoCAD2000 above .3 procedures needed for the operation of dynamic link library LSOLVE1.dll provide functionality for solving linear equations, it is proposed to LSOLVE1.dll copy to system directory, or copy to the Executive
    2022-05-20 15:26:40下载
    积分:1
  • 著名的seismiclab的代码 是地震学研究人员必备的工具
    著名的seismiclab的代码 是地震学研究人员必备的工具-famous seismiclab code seismic study is an essential tool for officers
    2022-12-01 03:05:04下载
    积分:1
  • 该界面可以通过MATLAB命令提示符下进入新用。用户可以。
    This GUI can be used by entering nu at the MATLAB command prompt. The user can either select a function (f(x)) of their choice or a statistical distribution probability distribution function to plot over a user defined range. The function s integral can be evaluated over a user defined range by using: The composite trapezium, simpsons and gauss-legendre rules. This is useful for calculating accurate probabilities that one might see in statistical tables.
    2022-02-10 10:26:40下载
    积分:1
  • 概率算法! 圆排列的随机化算法,超快的!
    概率算法! 圆排列的随机化算法,超快的!-probability algorithm! Yuan with a randomized algorithm, ultra-fast!
    2022-02-18 17:21:06下载
    积分:1
  • 牛顿向前插值法,完全自己编的,可以在X表的范围内任意输入一个值,代码挺好的...
    牛顿向前插值法,完全自己编的,可以在X表的范围内任意输入一个值,代码挺好的-Newton forward interpolation method, fully developed, the X within the context of an arbitrary input value, the code is very good
    2022-04-28 22:20:33下载
    积分:1
  • 数值配方是国际公认的高标准,数值计算…
    Numerical Recipes 是国际公认的高水平的、关于数值计算的书,其中有 200 多个可靠的算法源程序。-Numerical Recipes is an internationally recognized high standards, the numerical calculation of the book, which has more than 200 reliable source algorithm.
    2022-01-27 09:42:52下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载