资 源 简 介
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;