-
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
-
myTask0
有的科技图书会附有索引,其中列出书中重要术语出现的页码,便于读者查看。试设计一个类似的程序。输入是一个英文文本文件,输出是文件中关键字及其出现的行号的列表并按照关键字有序排列。程序运行方式:>index inputfile keys outputflie
(Some books will be accompanied by technology index, which lists important terms appear in the book pages, easy to readers to view. Try to design a similar procedure. English text input is a file, the output is a file that appears in the keywords and their line numbers list and ordered according to keywords. Program run mode:> index inputfile keys outputflie)
- 2013-10-28 21:15:13下载
- 积分:1
-
NewNotePad
VB仿Windows可显示行号的记事本程序,有需要的下。(VB notepad application in imitation of a Windows to display line Numbers, in need.)
- 2013-08-15 18:06:33下载
- 积分:1
-
Thread3
graph drower MFC with dynamic scaling y-axis
- 2009-11-19 18:07:40下载
- 积分:1
-
monkeyking
猴子选大王,一个十分有趣的小型程序,判断谁是大王(Elected king of monkeys, a very interesting small-scale process to determine who is the king)
- 2008-05-08 21:25:54下载
- 积分:1
-
www
j简单的一个计算器C++源代码,乱七八糟了,随便(j simple calculator C++ source code, Messy, and not)
- 2007-07-14 13:37:24下载
- 积分:1
-
crkcd
自动搜索光盘,查找多媒体文件,生成播放列表,并自动播放,特别是支持大多数加密光盘
密码光盘(automatically search CD-ROM search multimedia files, generate a playlist and played automatically. particularly in support of the majority of password encryption CD discs)
- 2007-02-01 17:46:34下载
- 积分:1
-
ymd
输入年月日得出星期,按照代码里面的提示输入就可以得到星期几,输入的年份是有一个范围的,输入没有检错处理的!!!(Enter the date come weeks)
- 2013-01-13 19:53:28下载
- 积分:1
-
vplightlobe_simple
说明: 用vs2003编程实现了vega prime中 直升机的前面大灯的灯光变化(Programming with a vega prime vs2003 helicopter in front of the headlights in the light changes)
- 2011-02-18 11:29:56下载
- 积分:1
-
51354069calculator
计算器,实现了常规的所有计算功能,很好用的(Calculator, to achieve all the computing power of a conventional, well used)
- 2013-12-08 21:10:53下载
- 积分:1