-
youxiangtu
编写C程序,随机给出n*n的邻接矩阵,并打印输出邻接矩阵,以及有向图的边的个数,每个顶点的度,并判断该图中是否存在Euler回路:
(1)如果为n阶,则随机产生一个n*n的邻接矩阵;
(2)输出邻接矩阵,边的个数,每个顶点的度以及图中是否存在Euler回路。
这个题目涉及到了两个主要的知识点,一个是数据结构中的有向图的邻接矩阵的创建,还有就是离散数学中的Euler回路的判定定理。(The preparation of C procedures, were randomly given n* n s adjacency matrix and adjacency matrix printouts, as well as to map the number of edges, each vertex degrees, and determine the existence of the map Euler circuit: (1) If for n-order, then randomly generated a n* n adjacency matrix (2) output adjacency matrix, the number of edges, each vertex of degree as well as map the existence of Euler circuit. This topic relates to two main points of knowledge, a data structure of digraph adjacency matrix of creation, there is discrete mathematics in the loop to determine Euler theorem.)
- 2008-06-14 02:33:57下载
- 积分:1
-
Jesephus.rar
说明: 解决约瑟夫环的问题,并输出出圈的顺序。约瑟夫环的大小是任意的。(Joseph Ring solve problems, and the output of the loop sequence. Joseph ring size is arbitrary.)
- 2008-11-16 18:37:28下载
- 积分:1
-
5551845
Extended the function of the message box
- 2017-04-22 09:15:19下载
- 积分:1
-
pingjiansheji
采用c语言设计平键,校核平键的强度,实现人机交互,用户有较大的选择余地(Flat key design using c language, check the strength of flat keys, to achieve human-computer interaction, users have greater choice)
- 2011-05-16 16:36:17下载
- 积分:1
-
jiafajisuanqi
加法计算器,主要实现两个数加减运算,用来练习MFC中基本控件的使用(Addition calculator, the main achievement subtract two numbers, used to practice the basic control the use of MFC)
- 2010-10-29 10:55:16下载
- 积分:1
-
CCallJava
VC调用java的简单例子。需要注意jvm.dll路径,路径不对就不能成功!(VC called a simple example. Attention jvm.dll path, the road would not be wrong!)
- 2006-06-30 17:32:26下载
- 积分:1
-
Rotate
Examples c++Builder6
- 2011-11-04 22:50:51下载
- 积分:1
-
IPtext
VC++编写的IP侦查小程序 很实用(VC++ IP detection of small programs written in a very practical)
- 2011-11-18 17:29:08下载
- 积分:1
-
FrameTransfer
这是我的一个坐标转换的程序,是坐标在地固系和惯性系之间进行转换。希望对大家有用(err)
- 2008-06-17 19:55:43下载
- 积分:1
-
tongjimima
统计字母出现的频率,统计英文文章相应字母出现概率(Statistics the frequency of occurrence of English letters, the letters corresponding to probability statistics)
- 2011-12-19 20:02:36下载
- 积分:1