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

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

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

  • 迭代回朔算法是计算机中很常用的算法, 我的程序是一个八皇后问题。...
    迭代回朔算法是计算机中很常用的算法, 我的程序是一个八皇后问题。-back Schomburg iterative algorithm is quite commonly used computer algorithms, the procedure is a Queen"s eight issues.
    2023-04-02 20:05:03下载
    积分:1
  • 用C语言实现的遗传算法的程序,实现的是y=x+10*sin(5*x)+5*cos(10*x)求最大值.实现环境为win...
    用C语言实现的遗传算法的程序,实现的是y=x+10*sin(5*x)+5*cos(10*x)求最大值.实现环境为win-tc.-C language GA procedures, achieving is y = x 10* sin (x 5*) 5* cos (10* x) for the maximum. To achieve environmental w in-tc.
    2023-04-26 22:05:03下载
    积分:1
  • 最小二乘法多次曲线拟合.exe
    最小二乘法多次曲线拟合.exe-Using least squares algorithm on Multi-times curve fitting.exe
    2022-01-24 18:40:38下载
    积分:1
  • 计算流体力学LBM
    PDKS是屈崑在新加坡国立大学攻读博士学位期间研究可压缩 LBM模型时开发的程序LBM可压缩流模拟程序。基本特点为: 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2023-07-12 16:45:08下载
    积分:1
  • LCD项目
    这是一个代码初始化和使用爱特梅尔在屏幕液晶书写和编程上atmega16a同样是一个代码使用4X4键盘matricila
    2022-06-15 17:41:12下载
    积分:1
  • 卫星位置和速度的Lagrange插值算法分析,介绍卫星位置和速度的算法...
    卫星位置和速度的Lagrange插值算法分析,介绍卫星位置和速度的算法-Satellite position and velocity analysis of the Lagrange interpolation algorithm on satellite position and velocity of the algorithm
    2022-02-03 07:34:30下载
    积分:1
  • 水文模型SWAT的源代码
    分布式水文模型SWAT在水文中享有较高的盛誉,它能够综合反映一个地区的水文地质状况,以及水文气象状况,而其源代码更是研究SWAT的必备“神器”,学习了解SWAT的源代码不仅可以在最短的时间内学习到SWAT的“精要”,更能学习其Fortran语言,了解模型到代码的转换,更能学习到其模型的“实质”。 因此,一些致力于水文模型研究以及编程语言学习的“童鞋”们,你们有福了,赶紧下载这个SWAT的源代码,有时间慢慢学习,仔细推敲,水文中的模型就是只要学会一种,其他的基本触类旁通!
    2022-09-06 23:05:03下载
    积分:1
  • SIMPSON ALGORITHM
    从A到B近似I=积分((F(X)DX)):
    2022-10-06 21:15:03下载
    积分:1
  • dxf 读取
    应用背景Build Instructions: Make sure you have autoconf, swig, texinfo, python-dev, build-essential packages or equivalent installed via your package manager. cd libredwg ./autogen.sh && ./configure && make && sudo make install cd ../dxflib ./configure && make && sudo make install cd .. Once the above dependencies have been built, edit /usr/local/include/dwg.h, and rename the THICKNESS constant (or add _ to end). It conflicts with another constant included in the converter, but is not used itself. After that, just run "make". That"s it! 关键技术GNU LibreDWG 是一个免费开源的 C 库用来处理 DWG 文件,这
    2022-12-18 16:30:03下载
    积分:1
  • 使用正交多项式完成数据拟合。程序对读入的gps采样点完成曲线拟合。...
    使用正交多项式完成数据拟合。程序对读入的gps采样点完成曲线拟合。
    2023-08-25 18:15:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载